提交 7239ccdb 编写于 作者: L lnlan

feat: syscap文件打包进系统镜像

【背景】系统system中需要相关syscap文件

【修改方案】
1. syscap文件打包进系统镜像

【影响】
对现有的产品编译不会有影响。

re#I4T7SL

Change-Id: I4aec251bb794b05361b5fc95c151853358c2d466
Signed-off-by: Nlnlan <lanleinan3@huawei.com>
上级 93bec381
......@@ -275,6 +275,23 @@ if (defined(ohos_lite)) {
part_name = "init"
}
ohos_prebuilt_etc("syscap.para") {
source =
"${preloader_output_dir}/${product_name}/system/etc/param/syscap.para"
module_install_dir = "etc/param/"
part_name = "init"
}
ohos_prebuilt_etc("syscap.json") {
source = "${preloader_output_dir}/${product_name}/system/etc/syscap.json"
part_name = "init"
}
ohos_prebuilt_etc("systemcapability.json") {
source = "${preloader_output_dir}/${product_name}/system/etc/SystemCapability.json"
part_name = "init"
}
group("init_etc") {
deps = [
":boot.group",
......@@ -286,6 +303,9 @@ if (defined(ohos_lite)) {
":ohos.para",
":ohos.para.dac",
":passwd",
":syscap.json",
":syscap.para",
":systemcapability.json",
]
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册