未验证 提交 33fa9e60 编写于 作者: O openharmony_ci 提交者: Gitee

!303 modify: 修改cfg中misc服务的配置

Merge pull request !303 from 熊磊/init0210xyt
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
declare_args() { declare_args() {
param_feature_watcher = true param_feature_watcher = true
param_test = false param_test = true
if (defined(product_name) && product_name == "rk3568") { if (defined(product_name) && product_name == "rk3568") {
boot_kernel_extended_cmdline = boot_kernel_extended_cmdline =
......
...@@ -420,8 +420,7 @@ ...@@ -420,8 +420,7 @@
"name" : "boot && param:const.debuggable=1", "name" : "boot && param:const.debuggable=1",
"condition" : "boot && const.debuggable=1", "condition" : "boot && const.debuggable=1",
"cmds" : [ "cmds" : [
"start console", "start console"
"start misc"
] ]
}, { }, {
"name" : "services:console", "name" : "services:console",
...@@ -481,7 +480,6 @@ ...@@ -481,7 +480,6 @@
"gid" : ["shell", "log", "readproc"] "gid" : ["shell", "log", "readproc"]
}, { }, {
"name" : "misc", "name" : "misc",
"start-mode" : "normal",
"path" : ["/system/bin/misc_daemon", "--write_logo", "/vendor/logo.rgb"], "path" : ["/system/bin/misc_daemon", "--write_logo", "/vendor/logo.rgb"],
"once" : 1 "once" : 1
} }
......
...@@ -188,7 +188,6 @@ ...@@ -188,7 +188,6 @@
}, { }, {
"name" : "post-fs-data", "name" : "post-fs-data",
"cmds" : [ "cmds" : [
"start misc",
"mkdir /data/app 0711 root root", "mkdir /data/app 0711 root root",
"mkdir /data/app/el1 0711 root root", "mkdir /data/app/el1 0711 root root",
"mkdir /data/app/el1/bundle 0711 root root", "mkdir /data/app/el1/bundle 0711 root root",
...@@ -453,8 +452,7 @@ ...@@ -453,8 +452,7 @@
}, { }, {
"name" : "misc", "name" : "misc",
"path" : ["/system/bin/misc_daemon", "--write_logo", "/vendor/logo.rgb"], "path" : ["/system/bin/misc_daemon", "--write_logo", "/vendor/logo.rgb"],
"once" : 1, "once" : 1
"start-mode" : "normal"
} }
] ]
} }
...@@ -244,12 +244,7 @@ static void BootStateChange(const char *content) ...@@ -244,12 +244,7 @@ static void BootStateChange(const char *content)
{ {
INIT_LOGI("boot start %s finish.", content); INIT_LOGI("boot start %s finish.", content);
if (strcmp("init", content) == 0) { if (strcmp("init", content) == 0) {
static const char *bootServiceNames[] = { StartAllServices(START_MODE_BOOT);
"hdf_devmgr", "samgr", "appspawn", "faultloggerd"
};
for (int i = 0; i < ARRAY_LENGTH(bootServiceNames); i++) {
StartServiceByName(bootServiceNames[i], 0);
}
return; return;
} }
if (strcmp("post-init", content) == 0) { if (strcmp("post-init", content) == 0) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册