From 3848e1ba12cc813b7b58a4c8f2e7f0614966b504 Mon Sep 17 00:00:00 2001 From: Martijn Coenen Date: Fri, 17 Aug 2018 13:52:25 +0200 Subject: [PATCH] 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 --- rootdir/init.rc | 3 +++ 1 file changed, 3 insertions(+) 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