99e2b263dd0df71b55e86f0aec6657eb38b334e1 |
|
09-Jul-2016 |
Andreas Gampe <agampe@google.com> |
Otapreopt: Add init script for A/B artifact move Move the /data/ota -> /data/dalvik-cache move from the zygote into a minimal shell script. Add an init rc file to execute the script once /data is mounted. Add Makefile rules to pull these files in with the rest of the A/B OTA dexopt components. The move is motivated by the new naming scheme that includes the slot name. Passing the slot name to the zygote would complicate the process, while the value is immediately available in the script through a simple getprop call. Bug: 25612095 Bug: 28069686 Change-Id: I63e718d488662e1b1de2ce857629cb90aa4f611d
/frameworks/native/cmds/installd/Android.mk
|
01ad5984dd202311a7e301c8c771a5d4b7c76136 |
|
10-Mar-2016 |
Andreas Gampe <agampe@google.com> |
Otapreopt: Adapt for actual A/B Add postinstall script for update_engine hook. Add otapreopt_chroot as a gateway between installd and otapreopt. Installd will fork and run otapreopt_chroot, which has the permission to set up a chroot in /postinstall and run otapreopt from the B partition. Bug: 25612095 Change-Id: I4264598da00053ced87c849c738ddc0bc5437304
/frameworks/native/cmds/installd/Android.mk
|
73dae11162aa61396c06cbdb05b954764e944e02 |
|
19-Nov-2015 |
Andreas Gampe <agampe@google.com> |
Installd: Introduce otapreopt Add a tool for dexopt during OTA. The tool will use /data/ota as an ANDROID_ROOT wrt/ the dalvik-cache, compiling a new boot image and system apps into this directory. Other apps will be compiled to odex files suffixed with ".b". Bug: 25612095 Change-Id: I6ac382973f13850f6b37402a1b2330c0014b47d9
/frameworks/native/cmds/installd/Android.mk
|
a700b5a68f1dd58efb460757bc8d6aacc6a98fc0 |
|
05-Jan-2016 |
Colin Cross <ccross@android.com> |
Merge "libinstalld: add dependency on libselinux" am: 9dee30750e am: 3c2103ef33 * commit '3c2103ef33d40b95f773cc2224f0399833b1a8cc': libinstalld: add dependency on libselinux
|
4213ebe488949ff50d78944b027afd1865e8d05f |
|
22-Dec-2015 |
Colin Cross <ccross@android.com> |
libinstalld: add dependency on libselinux libinstalld uses headers from libselinux, add a LOCAL_SHARED_LIBRARIES dependency on libselinux. Change-Id: Ic12c55547526638810bcc1ac952d205f2f163fd3
/frameworks/native/cmds/installd/Android.mk
|
02d0de56c75347a0cb8d5a8565dc8c4ee7616057 |
|
12-Nov-2015 |
Andreas Gampe <agampe@google.com> |
Installd: Refactor in preparation for OTA Refactor installd code so reuse with a few key plugin functions is possible. Do a bit of code cleanup. Bug: 25612095 Change-Id: I544604f0a391583a4c07887a8234343a3a255942
/frameworks/native/cmds/installd/Android.mk
|
74155996d931edbd19ed5b3f71a58ceff920b451 |
|
14-Aug-2015 |
Tom Cherry <tomcherry@google.com> |
bundle init.rc contents with its service Bug: 23186545 Change-Id: I2a70a39122b146d5bbc9b55156e769782e011bff
/frameworks/native/cmds/installd/Android.mk
|
e36372423000a906bafae68844ebc6c42d09335a |
|
09-Apr-2015 |
Jeff Sharkey <jsharkey@android.com> |
Command to move private app data between volumes. New "mvuserdata" command will move all private app data from one volume UUID to another. It leverages the existing "cp" toybox command to do the heavy lifting for all known users, preserving details like timestamps and permissions. It invokes restorecon() to correctly label the new location when the copy is finished. Changes installd to no longer drop capabilities, so we run as root again. This also allows us to exec "cp" with CAP_DAC_OVERRIDE and CAP_FOWNER still in effect. Bug: 19993667 Change-Id: I1f407a7c4a1af97ca5afc27b04eb16b4936cbdef
/frameworks/native/cmds/installd/Android.mk
|
41ea424413c0381ef2aa15fc5bd5d4b88abd23c4 |
|
09-Apr-2015 |
Jeff Sharkey <jsharkey@android.com> |
More volume UUID awareness. Teach free_cache() and restorecon_data() about building per-volume paths. Also clean up restorecon_data() by using std::string when building paths. Clearer names for path building utility methods, and tests to verify. Bug: 19993667 Change-Id: Iacfbcdaa5b901cc2490bc8eba366dfdeb44f1d93
/frameworks/native/cmds/installd/Android.mk
|
c03de09173f98506e73e7cf7df21fe11795d4b24 |
|
08-Apr-2015 |
Jeff Sharkey <jsharkey@android.com> |
Plumb through volume UUID when building paths. Since app data paths can live on expanded storage devices, accept the target volume UUID when building paths. The null UUID indicates the default internal storage. To improve readability, start using std::string in several places, which throws when allocations fail. For now, perform last-second sanity checks on incoming path arguments, but we'll eventually want to check arguments as they come through installd.cpp, instead of crashing the entire daemon. Also remove "lib" symlink code from install() and make_user_data(), since we're no longer supporting /data/app-lib. The framework already uses linklib() to create the right symlink for the selected ISA-specific library dir. Bug: 19993667 Change-Id: Ib9343575ffb62bf3981e19375de8f3822fc31e28
/frameworks/native/cmds/installd/Android.mk
|
19803807cd7ae01868fcfa50305f4a7dd13765e2 |
|
07-Apr-2015 |
Jeff Sharkey <jsharkey@android.com> |
Switch installd to compile as C++. This is the minimal change needed to switch it over to C++, which paves the way for using more robust utilities like std::string. Change-Id: I80ed6280146875eb6ddbbb340c05450388ca13f0
/frameworks/native/cmds/installd/Android.mk
|
e46a75a0f6007967cd0d161959af844772cdc330 |
|
28-Jun-2014 |
Brian Carlstrom <bdc@google.com> |
Make dex2oat heap size product configurable [frameworks/native] Bug: 15919420 Change-Id: I0e629ff4f7541f0dde7380e0dbc8dab1c13df7bd
/frameworks/native/cmds/installd/Android.mk
|
8a0cb4ee0b6c351de82987efb472fa38dfaf608a |
|
10-Apr-2013 |
Ying Wang <wangying@google.com> |
Add liblog Bug: 8580410 Change-Id: I2ca4fa00dde0b574df3619134836bcb9315bd506
/frameworks/native/cmds/installd/Android.mk
|
a2d838a542c34d2887a0ec1fafa5f47566d595e9 |
|
10-Jan-2013 |
Nick Kralevich <nnk@google.com> |
Revert "App home directories are now 0700 for targetSdkVersion > 17" This reverts commit 7f5c84a0b25706746a92ad1233cbbb8923eda54d. Bug: 7966399 Bug: 7208882 Change-Id: I9fb13cf06c0f6605f3d992525346b14fe3259c66
/frameworks/native/cmds/installd/Android.mk
|
7f5c84a0b25706746a92ad1233cbbb8923eda54d |
|
13-Dec-2012 |
Nick Kralevich <nnk@google.com> |
App home directories are now 0700 for targetSdkVersion > 17 Have installd set an app's home directory permissions to 0700 if the app has targetSdkVersion > 17. Bug: 7208882 Change-Id: Iaa4fc42fec69bc1abdfae53704d6264dd6fa965f
/frameworks/native/cmds/installd/Android.mk
|
94afecf4b6f437b3ee9a076242402e421c6c07a6 |
|
24-Oct-2012 |
Mike Lockwood <lockwood@google.com> |
Move non-Java commands over from frameworks/base Change-Id: I0571813c1cfcf66abd36eb9f178fc49b618e88a6 Signed-off-by: Mike Lockwood <lockwood@google.com>
/frameworks/native/cmds/installd/Android.mk
|