From 86f3dd270c96ac61146f8097e0241ef72eb5f191 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=96=87=E8=BF=AA?= Date: Sat, 3 Sep 2022 16:13:32 +0800 Subject: [PATCH] revise mini system start up MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 张文迪 --- services/BUILD.gn | 6 ++++++ services/init/standard/BUILD.gn | 2 -- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/services/BUILD.gn b/services/BUILD.gn index 87e82bbed..7f2b0271b 100755 --- a/services/BUILD.gn +++ b/services/BUILD.gn @@ -32,7 +32,13 @@ group("startup_init") { deps = [ "etc:etc_files", "init/standard:init", + "//third_party/e2fsprogs:e2fsprogs", ] + + if (use_musl) { + deps += [ "//third_party/f2fs-tools:f2fs-tools" ] + } + if (enable_ohos_startup_init_feature_watcher) { deps += [ "//base/startup/init/services/param/watcher:param_watcher", diff --git a/services/init/standard/BUILD.gn b/services/init/standard/BUILD.gn index 25dfebfc0..9430b4c60 100644 --- a/services/init/standard/BUILD.gn +++ b/services/init/standard/BUILD.gn @@ -81,7 +81,6 @@ ohos_executable("init") { "//base/startup/init/ueventd:libueventd_ramdisk_static", "//third_party/bounds_checking_function:libsec_static", "//third_party/cJSON:cjson_static", - "//third_party/e2fsprogs:e2fsprogs", ] deps += [ "//base/startup/init/interfaces/innerkits/init_module_engine:libinit_stub_versionscript" ] @@ -93,7 +92,6 @@ ohos_executable("init") { if (use_musl) { deps += [ - "//third_party/f2fs-tools:f2fs-tools", "//third_party/mksh:sh", "//third_party/toybox:toybox", ]