diff --git a/meta-ohos-core/recipes-kernel/linux/linux-yocto-all.inc b/meta-ohos-core/recipes-kernel/linux/linux-yocto-all.inc index 39b73fc1a59fab7ce9436b68096030eec83b436b..6c59f53c1c20a60b06234f238805a4a4572f4435 100644 --- a/meta-ohos-core/recipes-kernel/linux/linux-yocto-all.inc +++ b/meta-ohos-core/recipes-kernel/linux/linux-yocto-all.inc @@ -7,6 +7,7 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/linux:" SRC_URI += "file://fix-gcc-plugins-with-gcc-11.patch" SRC_URI += "file://misc.cfg" +SRC_URI += "file://squashfs.cfg" SRC_URI += "file://hardening_allocator.cfg" SRC_URI += "file://hardening_allocator_perf.cfg" SRC_URI += "file://hardening_disable_misc.cfg" diff --git a/meta-ohos-core/recipes-kernel/linux/linux/squashfs.cfg b/meta-ohos-core/recipes-kernel/linux/linux/squashfs.cfg new file mode 100644 index 0000000000000000000000000000000000000000..8f067e92710d615e13741f1e6c6d6d3b856ea0a2 --- /dev/null +++ b/meta-ohos-core/recipes-kernel/linux/linux/squashfs.cfg @@ -0,0 +1,6 @@ +# SPDX-FileCopyrightText: Huawei Inc. +# +# SPDX-License-Identifier: Apache-2.0 + +# Root filesystem is by default squashfs +CONFIG_SQUASHFS=y