From 8cc57741c90bec2cc49b290c42c9187ecbd23fc4 Mon Sep 17 00:00:00 2001 From: Viswanath Kraleti Date: Thu, 12 Sep 2024 11:10:10 +0530 Subject: [PATCH] linux-qcom-uki.bb: Initialize INITRAMFS_IMAGE to stop breaking builds Below error seen when INITRAMFS_IMAGE is undefined. Fix it by defining INITRAMFS_IMAGE with a weak assignment. ERROR: Error for linux-qcom-uki.bb:do_configure[depends], dependency '${@ '${INITRAMFS_IMAGE}:do_image_complete' if d.getVar('INITRAMFS_IMAGE') else ''}' does not contain exactly one ':' character. Task 'depends' should be specified in the form 'packagename:task' Signed-off-by: Viswanath Kraleti (cherry picked from commit 2de73afc76249027916accd9a83a6e66fa85a4dd) --- recipes-kernel/images/linux-qcom-uki.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-kernel/images/linux-qcom-uki.bb b/recipes-kernel/images/linux-qcom-uki.bb index 0d34b606a..c2e2aaf48 100644 --- a/recipes-kernel/images/linux-qcom-uki.bb +++ b/recipes-kernel/images/linux-qcom-uki.bb @@ -18,6 +18,8 @@ require conf/image-uefi.conf KERNEL_VERSION = "${@get_kernelversion_file('${STAGING_KERNEL_BUILDDIR}')}" +INITRAMFS_IMAGE ?= '' + do_configure[depends] += " \ systemd-boot:do_deploy \ virtual/kernel:do_deploy \