From 23150d32c8d7f48cb7fb579615735891cc7d9390 Mon Sep 17 00:00:00 2001 From: zhengweiwei2 Date: Fri, 26 Aug 2022 16:32:59 +0800 Subject: [PATCH] features file needs to be packaged into the system mirror image Signed-off-by: zhengweiwei2 --- services/etc/BUILD.gn | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/services/etc/BUILD.gn b/services/etc/BUILD.gn index f404b014b..e2a09ab18 100755 --- a/services/etc/BUILD.gn +++ b/services/etc/BUILD.gn @@ -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",