From ae6a85a91a9a1932d137761f28737fea924d0214 Mon Sep 17 00:00:00 2001 From: Andrei Gherzan Date: Thu, 6 Aug 2020 12:22:21 +0100 Subject: sdcard_image-rpi.bbclass: Fix when RPI_SDIMG_EXTRA_DEPENDS not defined If the variable is not defined, bitbake will fail: [...] Task 'depends' should be specified in the form 'packagename:task' [...] This is because not expanding the variable leaves an invalid entry. Signed-off-by: Andrei Gherzan --- classes/sdcard_image-rpi.bbclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/classes/sdcard_image-rpi.bbclass b/classes/sdcard_image-rpi.bbclass index 9bf42db..8197978 100644 --- a/classes/sdcard_image-rpi.bbclass +++ b/classes/sdcard_image-rpi.bbclass @@ -49,6 +49,8 @@ SDIMG_ROOTFS = "${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.${SDIMG_ROOTFS_TYPE}" # For the names of kernel artifacts inherit kernel-artifact-names +RPI_SDIMG_EXTRA_DEPENDS ?= "" + do_image_rpi_sdimg[depends] = " \ parted-native:do_populate_sysroot \ mtools-native:do_populate_sysroot \ -- cgit v1.2.3-54-g00ecf