History log of /frameworks/native/cmds/installd/otapreopt_slot.sh
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e7d555267725ca050ddd5e891267a61a55c9e16a 13-Aug-2016 Andreas Gampe <agampe@google.com> otapreopt: Collect and print size of artifacts

Collect and print the size of artifacts when moving after a reboot.
This helps in diagnosing issues after the fact.

Bug: 30832951
Change-Id: Iee410adf59dcbb74fa4b49edb27d028025cd8bf9
/frameworks/native/cmds/installd/otapreopt_slot.sh
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/otapreopt_slot.sh