summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorDaniel Rosenberg <drosen@google.com>2018-10-11 15:35:07 -0700
committerDaniel Rosenberg <drosen@google.com>2018-10-15 22:16:19 +0000
commit6156b9b8baa4fafa50d40a3cb213ee0799c8237c (patch)
treec3112abe2f0dee0dbde6e969104d730133ee3e9c /rootdir
parent4c67290da6f889f88d06214d3177c5b55068b164 (diff)
downloadsystem_core-6156b9b8baa4fafa50d40a3cb213ee0799c8237c.tar.gz
system_core-6156b9b8baa4fafa50d40a3cb213ee0799c8237c.tar.bz2
system_core-6156b9b8baa4fafa50d40a3cb213ee0799c8237c.zip
Call markBootAttempt when serice manager available
This causes adds a call the fucntion to decrement the checkpoint's retry count as soon as service manager is available. Test: vdc setCheckpoint 2 then reboot 3 times checking state Bug: 112901762 Change-Id: Ie0a78b1eb05b340718e76175509d1ebefae68017
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.rc2
1 files changed, 2 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 9aaad8fcf..21d234f78 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -336,6 +336,8 @@ on post-fs
start servicemanager
start hwservicemanager
start vndservicemanager
+ start vold
+ exec - system system -- /system/bin/vdc checkpoint markBootAttempt
# Once everything is setup, no need to modify /.
# The bind+remount combination allows this to work in containers.