Add rc file for wait_for_keymaster

Similar to update_verifier, define higher prio and use exec_start for
this binary.

Bug: 79492334
Test: Reboot test
Change-Id: I8d3133cabcc8d4cee8bdead310f2c18d8d07e9dd
This commit is contained in:
Wei Wang 2018-05-15 16:12:20 -07:00
parent a229dac0e7
commit f5b085c13a
2 changed files with 9 additions and 1 deletions

View file

@ -158,7 +158,10 @@ cc_binary {
], ],
}, },
}, },
init_rc: ["vold.rc"], init_rc: [
"vold.rc",
"wait_for_keymaster.rc",
],
required: [ required: [
"mke2fs", "mke2fs",

5
wait_for_keymaster.rc Normal file
View file

@ -0,0 +1,5 @@
service wait_for_keymaster /system/bin/wait_for_keymaster
user root
group root system
priority -20
ioprio rt 0