Merge "apexd is started much earlier to create loopback devices"

am: 34f3660e2c

Change-Id: I3132ba5196465e69a0bc38923487c9bf0ec6b3fb
This commit is contained in:
Jiyong Park 2019-02-11 18:08:02 -08:00 committed by android-build-merger
commit bc08d9d207

View file

@ -277,6 +277,10 @@ on init
# Start logd before any other services run to ensure we capture all of their logs. # Start logd before any other services run to ensure we capture all of their logs.
start logd start logd
# Start apexd as soon as we can
start apexd
# Start essential services. # Start essential services.
start servicemanager start servicemanager
start hwservicemanager start hwservicemanager
@ -412,8 +416,8 @@ on post-fs-data
mkdir /data/bootchart 0755 shell shell mkdir /data/bootchart 0755 shell shell
bootchart start bootchart start
# Start apexd as soon as we can # /data/apex is now available. Let apexd to scan and activate APEXes.
start apexd setprop apexd.data.status ready
# Avoid predictable entropy pool. Carry over entropy from previous boot. # Avoid predictable entropy pool. Carry over entropy from previous boot.
copy /data/system/entropy.dat /dev/urandom copy /data/system/entropy.dat /dev/urandom