summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorMartijn Coenen <maco@google.com>2018-08-17 13:52:25 +0200
committerMartijn Coenen <maco@google.com>2018-08-17 13:52:25 +0200
commit3848e1ba12cc813b7b58a4c8f2e7f0614966b504 (patch)
tree325a74d16c387fbfda5187a9d268a30388668e47 /rootdir
parent6a581b7b668c2ea201d351edfe13c9f2270d5418 (diff)
downloadsystem_core-3848e1ba12cc813b7b58a4c8f2e7f0614966b504.tar.gz
system_core-3848e1ba12cc813b7b58a4c8f2e7f0614966b504.tar.bz2
system_core-3848e1ba12cc813b7b58a4c8f2e7f0614966b504.zip
init: start apexd as early as we can.
apexd needs to run right after mounting /data. Bug: 112455435 Test: apexd is running Change-Id: I71c834bcaf26a3133aef57bb1d1953010a6d137c
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.rc3
1 files changed, 3 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index bf22951d2..f1e5525b5 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -403,6 +403,9 @@ on post-fs-data
mkdir /data/bootchart 0755 shell shell
bootchart start
+ # Start apexd as soon as we can
+ start apexd
+
# Avoid predictable entropy pool. Carry over entropy from previous boot.
copy /data/system/entropy.dat /dev/urandom