Update neverallow rules for init_first_stage
We are introducing Microdroid-specific variant of the init_first_stage, and need to add init_first_stage_defaults and init_first_stage.microdroid to the neverallow rule. Bug: 287206497 Test: build com.android.virt APEX Change-Id: I88543256ab0479d4676865ebb1d16d9d39f1f455
This commit is contained in:
parent
df9c3441aa
commit
11a9c2c763
1 changed files with 2 additions and 0 deletions
|
@ -239,7 +239,9 @@ func createUncompressDexRules() []Rule {
|
|||
func createInitFirstStageRules() []Rule {
|
||||
return []Rule{
|
||||
NeverAllow().
|
||||
Without("name", "init_first_stage_defaults").
|
||||
Without("name", "init_first_stage").
|
||||
Without("name", "init_first_stage.microdroid").
|
||||
With("install_in_root", "true").
|
||||
Because("install_in_root is only for init_first_stage."),
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue