summaryrefslogtreecommitdiff
path: root/apexer/apex_manifest.py
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2019-05-10 21:12:27 +0900
committerJiyong Park <jiyong@google.com>2019-05-29 07:05:21 +0900
commitb1d81b8920af9afd3e52f798e69f54b327135ed7 (patch)
tree7a500b2d68aa128c63a35ef0acb64b07c36890f1 /apexer/apex_manifest.py
parente1ea3ae1da99397f0ccd9b29acf826581d920510 (diff)
Don't use apexd when TARGET_FLATTEN_APEX == true
When TARGET_FLATTEN_APEX is true, apexd is not used to activate the built-in flattened APEXes. Init simply bind-mounts /system/apex to /apex. When apexd is invoked for the flattened APEX (ro.apex.updatable is not set or set to false), apexd just returns immediately without doing anything but marking apexd as ready to let init to proceed without waiting apexd. Also, the 'critical' attribute is removed from apexd service, since now apexd is now expected to exit. Otherwise, init will detect the exit of apexd as crash and will refuse to boot. Bug: 132413565 Test: marlin is bootable Merged-In: I7d1e45b6d4c6d6594ce10817f5c5f139f10ac27f Change-Id: I7d1e45b6d4c6d6594ce10817f5c5f139f10ac27f (cherry picked from commit c47a88d64b87d65072b794a9514f9a0565308c37)
Diffstat (limited to 'apexer/apex_manifest.py')
0 files changed, 0 insertions, 0 deletions