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:
parent
a229dac0e7
commit
f5b085c13a
2 changed files with 9 additions and 1 deletions
|
@ -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
5
wait_for_keymaster.rc
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
service wait_for_keymaster /system/bin/wait_for_keymaster
|
||||||
|
user root
|
||||||
|
group root system
|
||||||
|
priority -20
|
||||||
|
ioprio rt 0
|
Loading…
Reference in a new issue