!67 init cfg 配置

Merge pull request !67 from 陈浩/myfeature
This commit is contained in:
openharmony_ci 2021-07-23 08:48:12 +00:00 committed by Gitee
commit 5083202433
2 changed files with 21 additions and 1 deletions

View File

@ -14,7 +14,11 @@
import("//build/ohos.gni")
ohos_prebuilt_etc("huks_service.rc") {
source = "huks_service.rc"
if (use_musl) {
source = "huks_service.cfg"
} else {
source = "huks_service.rc"
}
relative_install_dir = "init"
subsystem_name = "security"
part_name = "huks_standard"

View File

@ -0,0 +1,16 @@
{
"jobs" : [{
"name" : "post-fs-data",
"cmds" : [
"start huks_service"
]
}
],
"services" : [{
"name" : "huks_service",
"path" : ["/system/bin/sa_main", "/system/profile/huks_service.xml"],
"uid" : "system",
"gid" : ["system", "shell"]
}
]
}