diff --git a/meta-oniro-core/recipes-bsp/bootfiles/rpi-cmdline.bbappend b/meta-oniro-core/recipes-bsp/bootfiles/rpi-cmdline.bbappend new file mode 100644 index 0000000000000000000000000000000000000000..02c55ce6e1c7c4af162c6cf34835f39057378bbb --- /dev/null +++ b/meta-oniro-core/recipes-bsp/bootfiles/rpi-cmdline.bbappend @@ -0,0 +1,6 @@ +# SPDX-FileCopyrightText: Huawei Inc. +# +# SPDX-License-Identifier: Apache-2.0 + +# Make rootfstype defined based on ROOT_FSTYPE (selected by wic configuration) +CMDLINE_ROOT_FSTYPE = "rootfstype=${ROOT_FSTYPE} ro" diff --git a/meta-oniro-core/recipes-kernel/linux/linux-raspberrypi_%.bbappend b/meta-oniro-core/recipes-kernel/linux/linux-raspberrypi_%.bbappend index daa096e996f161b6150501288d395a7f4c640f1f..87786b934e4537ae85294af2810cce4d083a04b3 100644 --- a/meta-oniro-core/recipes-kernel/linux/linux-raspberrypi_%.bbappend +++ b/meta-oniro-core/recipes-kernel/linux/linux-raspberrypi_%.bbappend @@ -5,6 +5,3 @@ 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"