From 6ef8b576b8c24177c75d676e5846f826bc0951d8 Mon Sep 17 00:00:00 2001 From: Jose Quaresma Date: Fri, 20 Oct 2023 21:31:07 +0100 Subject: [PATCH] rpi-base: Adds EXTRA_IMAGEDEPENDS to fix the image task do_populate_lic_deploy This fix is needed to bring the complete dependency chain in order to guarantee the recursive runtime dependencies [1] of do_populate_lic_deploy in do_populate_lic will run as expected. [1] openembedded-core/meta/classes-recipe/license_image.bbclass:do_populate_lic_deploy[recrdeptask] += "do_populate_lic do_deploy" Fix the following image build issues: | ERROR: lmp-base-console-image-1.0-r0 do_populate_lic_deploy: Couldn't find license information for dependency rpi-config Signed-off-by: Jose Quaresma --- conf/machine/include/rpi-base.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/machine/include/rpi-base.inc b/conf/machine/include/rpi-base.inc index 64f60ab1e..472f18efa 100644 --- a/conf/machine/include/rpi-base.inc +++ b/conf/machine/include/rpi-base.inc @@ -148,6 +148,9 @@ IMAGE_BOOT_FILES ?= "${BOOTFILES_DIR_NAME}/* \ ${@make_dtb_boot_files(d)} \ ${RPI_EXTRA_IMAGE_BOOT_FILES} \ " + +EXTRA_IMAGEDEPENDS += "rpi-bootfiles" + do_image_wic[depends] += " \ virtual/kernel:do_deploy \ rpi-bootfiles:do_deploy \