Skip to content

Commit e4e981d

Browse files
esp-qcom-image: add back support for KERNEL_CMDLINE_EXTRA
KERNEL_CMDLINE_EXTRA addition to the kernel command line was removed as part of the switch to the oe-core uki.bbclass, add it back. Signed-off-by: Ricardo Salveti <ricardo.salveti@oss.qualcomm.com>
1 parent d06d56e commit e4e981d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

recipes-kernel/images/esp-qcom-image.bb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ inherit image uki uki-esp-image
1313
UKI_FILENAME = "${EFI_LINUX_IMG}"
1414

1515
UKI_CMDLINE = "root=${QCOM_BOOTIMG_ROOTFS} rw rootwait console=${KERNEL_CONSOLE}"
16+
UKI_CMDLINE += "${@'' + d.getVar('KERNEL_CMDLINE_EXTRA') if d.getVar('KERNEL_CMDLINE_EXTRA') else ''}"
1617

1718
# Remove 'upstream' dtb, rely on EFI provided one
1819
KERNEL_DEVICETREE = ""
@@ -34,3 +35,5 @@ remove_unused_files() {
3435
find ${IMAGE_ROOTFS} -mindepth 1 ! -path "${IMAGE_ROOTFS}/EFI*" -exec rm -rf {} +
3536
}
3637
IMAGE_PREPROCESS_COMMAND:append = " remove_unused_files"
38+
39+
do_uki[vardeps] += "KERNEL_CMDLINE_EXTRA"

0 commit comments

Comments
 (0)