Load persist props before starting apexd.
apexd now reads persist props to select between multi-installed APEXes for debug builds. Bug: 199290365 Test: see https://r.android.com/1872018 Change-Id: I0e6881e3a5a3775560b580556a7de2e2da043d34
This commit is contained in:
parent
52a2135180
commit
4b09b5e202
1 changed files with 12 additions and 8 deletions
|
@ -460,11 +460,6 @@ on property:sys.boot_from_charger_mode=1
|
|||
class_stop charger
|
||||
trigger late-init
|
||||
|
||||
on load_persist_props_action
|
||||
load_persist_props
|
||||
start logd
|
||||
start logd-reinit
|
||||
|
||||
# Indicate to fw loaders that the relevant mounts are up.
|
||||
on firmware_mounts_complete
|
||||
rm /dev/.booting
|
||||
|
@ -491,9 +486,6 @@ on late-init
|
|||
# /data, which in turn can only be loaded when system properties are present.
|
||||
trigger post-fs-data
|
||||
|
||||
# Load persist properties and override properties (if enabled) from /data.
|
||||
trigger load_persist_props_action
|
||||
|
||||
# Should be before netd, but after apex, properties and logging is available.
|
||||
trigger load_bpf_programs
|
||||
|
||||
|
@ -676,6 +668,18 @@ on post-fs-data
|
|||
# use of MAX_BOOT_LEVEL keys.
|
||||
exec - system system -- /system/bin/vdc keymaster earlyBootEnded
|
||||
|
||||
# Multi-installed APEXes are selected using persist props.
|
||||
# Load persist properties and override properties (if enabled) from /data,
|
||||
# before starting apexd.
|
||||
load_persist_props
|
||||
start logd
|
||||
start logd-reinit
|
||||
# Some existing vendor rc files use 'on load_persist_props_action' to know
|
||||
# when persist props are ready. These are difficult to change due to GRF,
|
||||
# so continue triggering this action here even though props are already loaded
|
||||
# by the 'load_persist_props' call above.
|
||||
trigger load_persist_props_action
|
||||
|
||||
# /data/apex is now available. Start apexd to scan and activate APEXes.
|
||||
#
|
||||
# To handle userspace reboots as well as devices that use FDE, make sure
|
||||
|
|
Loading…
Reference in a new issue