Add install_in_root to prebuilt_root module

This is to support installing to real root "/", not a root of partition
(e.g. "/system/").

Bug: 351258461
Test: build
Change-Id: I56993aceddfd988d2d10040f50f838b89c9bdc67
This commit is contained in:
Inseob Kim
2024-07-11 15:43:44 +09:00
parent 2dbf71fed8
commit be6a66d54b
2 changed files with 19 additions and 8 deletions

View File

@@ -237,6 +237,7 @@ func createInitFirstStageRules() []Rule {
Without("name", "init_first_stage").
Without("name", "init_first_stage.microdroid").
With("install_in_root", "true").
NotModuleType("prebuilt_root").
Because("install_in_root is only for init_first_stage."),
}
}