From 1be83e30c583de86a207ce4cebd10102eae0137e Mon Sep 17 00:00:00 2001 From: Daniel Rosenberg Date: Mon, 17 Jun 2019 13:23:05 -0700 Subject: [PATCH] Start Vold on early-fs We need vold on early-fs so we can handle userdata checkpointing. Without this, devices will take an extra minute or two as checkpointing related vdc calls attempt to reach vold before it is available. Bug: 134114000 Test: Boot, see vold has started before vdc checkpointing tries to call out to vold. Change-Id: Idfdb304503a163fbb91f9317949eb98c06fecce1 --- rootdir/init.rc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rootdir/init.rc b/rootdir/init.rc index 260199794..c042c4897 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -345,8 +345,11 @@ on late-init trigger early-boot trigger boot -on post-fs +on early-fs + # Once metadata has been mounted, we'll need vold to deal with userdata checkpointing start vold + +on post-fs exec - system system -- /system/bin/vdc checkpoint markBootAttempt # Once everything is setup, no need to modify /.