From 1e2d8c7fce132773da8058f7210c0d990c4cb1a9 Mon Sep 17 00:00:00 2001 From: Tom Cherry Date: Tue, 28 Mar 2017 13:28:38 -0700 Subject: [PATCH] init.rc: launch update_verifier with exec_start This allows update_verifier to raise it's priority and ioprio. Bug: 36511808 Bug: 36102163 Test: Boot bullhead Test: Verify boottime decrease on sailfish Change-Id: I5710c6a98dc7acee9063d1fa1d1c80668f0f1528 --- rootdir/init.rc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rootdir/init.rc b/rootdir/init.rc index 7091ab95b..d48b892b1 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -598,7 +598,7 @@ on boot on nonencrypted # A/B update verifier that marks a successful boot. - exec - root cache -- /system/bin/update_verifier nonencrypted + exec_start update_verifier_nonencrypted class_start main class_start late_start @@ -621,12 +621,12 @@ on property:vold.decrypt=trigger_post_fs_data on property:vold.decrypt=trigger_restart_min_framework # A/B update verifier that marks a successful boot. - exec - root cache -- /system/bin/update_verifier trigger_restart_min_framework + exec_start update_verifier class_start main on property:vold.decrypt=trigger_restart_framework # A/B update verifier that marks a successful boot. - exec - root cache -- /system/bin/update_verifier trigger_restart_framework + exec_start update_verifier class_start main class_start late_start