From 05e583cec9a262d072917798a44b0278283a4dde Mon Sep 17 00:00:00 2001 From: Andrei Gherzan <andrei.gherzan@huawei.com> Date: Tue, 13 Jul 2021 12:29:45 +0100 Subject: [PATCH] linux-raspberrypi: Enable CONFIG_SQUASHFS The root filesystem defaults to squashfs. Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> --- .../recipes-kernel/linux/linux-raspberrypi_%.bbappend | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 meta-ohos-core/recipes-kernel/linux/linux-raspberrypi_%.bbappend diff --git a/meta-ohos-core/recipes-kernel/linux/linux-raspberrypi_%.bbappend b/meta-ohos-core/recipes-kernel/linux/linux-raspberrypi_%.bbappend new file mode 100644 index 00000000..95e587fc --- /dev/null +++ b/meta-ohos-core/recipes-kernel/linux/linux-raspberrypi_%.bbappend @@ -0,0 +1,10 @@ +# SPDX-FileCopyrightText: Huawei Inc. +# +# SPDX-License-Identifier: Apache-2.0 + +FILESEXTRAPATHS_prepend := "${THISDIR}/linux:" + +SRC_URI += "file://squashfs.cfg" + +# Make rootfstype defined based on ROOT_FSTYPE (selected be wic configuration) +CMDLINE = "dwc_otg.lpm_enable=0 ${SERIAL} root=/dev/mmcblk0p2 rootfstype=${ROOT_FSTYPE} rootwait ro" -- GitLab