From 40447de4782d76f1e23e67ba05e272c27f6ec250 Mon Sep 17 00:00:00 2001 From: Paul Barker Date: Fri, 8 Sep 2017 21:32:25 +0000 Subject: [PATCH] rpi-base.inc: Set dependencies for creating wic images We need to ensure that the bootloader and firmware files are present in the deploy directory before creating wic images. Signed-off-by: Paul Barker --- conf/machine/include/rpi-base.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conf/machine/include/rpi-base.inc b/conf/machine/include/rpi-base.inc index f29db29..7ed1088 100644 --- a/conf/machine/include/rpi-base.inc +++ b/conf/machine/include/rpi-base.inc @@ -87,6 +87,10 @@ IMAGE_BOOT_FILES ?= "bcm2835-bootfiles/* \ '${KERNEL_IMAGETYPE} u-boot.bin;${SDIMG_KERNELIMAGE} boot.scr', \ '${KERNEL_IMAGETYPE};${SDIMG_KERNELIMAGE}', d)} \ " +do_image_wic[depends] += " \ + bcm2835-bootfiles:do_deploy \ + ${@bb.utils.contains('RPI_USE_U_BOOT', '1', 'u-boot:do_deploy', '',d)} \ + " # The kernel image is installed into the FAT32 boot partition and does not need # to also be installed into the rootfs.