提交 8b4d4676 编写于 作者: X xionglei6

for build_ramdisk script adjustment

Signed-off-by: Nxionglei6 <xionglei6@huawei.com>
上级 b8151479
......@@ -150,13 +150,14 @@ if (defined(ohos_lite)) {
cflags += [ "-DWITH_SELINUX" ]
}
if (disable_init_two_stages) {
if (!enable_ramdisk) {
defines = [ "DISABLE_INIT_TWO_STAGES" ]
}
install_images = [
"system",
"updater",
"ramdisk",
]
install_enable = true
part_name = "init"
......@@ -184,7 +185,7 @@ if (defined(ohos_lite)) {
# init etc files group
ohos_prebuilt_etc("init.cfg") {
if (disable_init_two_stages) {
if (!enable_ramdisk) {
source =
"//base/startup/init_lite/services/etc/init.without_two_stages.cfg"
} else {
......
......@@ -41,6 +41,7 @@ if (!defined(ohos_lite)) {
install_images = [
"system",
"updater",
"ramdisk",
]
install_enable = true
part_name = "init"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册