mirror of
https://gitee.com/openharmony/startup_init
synced 2024-11-30 05:41:10 +00:00
feat: syscap文件打包进系统镜像
【背景】系统system中需要相关syscap文件 【修改方案】 1. syscap文件打包进系统镜像 【影响】 对现有的产品编译不会有影响。 re#I4T7SL Change-Id: I4aec251bb794b05361b5fc95c151853358c2d466 Signed-off-by: lnlan <lanleinan3@huawei.com>
This commit is contained in:
parent
93bec381dd
commit
7239ccdb67
@ -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",
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user