Skip to content

Commit

Permalink
linux-qcom-uki.bb: Initialize INITRAMFS_IMAGE to stop breaking builds
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
quic-vkraleti committed Sep 17, 2024
1 parent 0481a10 commit 2de73af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions recipes-kernel/images/linux-qcom-uki.bb
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 2de73af

Please sign in to comment.