features file needs to be packaged into the system mirror image

Signed-off-by: zhengweiwei2 <zhengweiwei7@huawei.com>
This commit is contained in:
zhengweiwei2 2022-08-26 16:32:59 +08:00
parent 7cf030e7b7
commit 23150d32c8

View File

@ -170,6 +170,11 @@ if (defined(ohos_lite)) {
part_name = "init"
}
ohos_prebuilt_etc("features.json") {
source = "${preloader_output_dir}/features.json"
part_name = "init"
}
ohos_prebuilt_etc("system-sandbox.json") {
if (target_cpu == "arm64") {
source = "//base/startup/init/interfaces/innerkits/sandbox/system-sandbox64.json"
@ -203,6 +208,7 @@ if (defined(ohos_lite)) {
":charge.group",
":chipset-sandbox.json",
":console.cfg",
":features.json",
":group",
":init.cfg",
":init.reboot",