Skip to contentSkip to conversation

sdcard_image: Depend on do_deploy for kernel

PATCH New Khem Raj 1 participant 1 message Mar 15, 2016

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 sdcard_image: Depend on do_deploy for kernel

SD image is expecting dtb files to be deployed in deploy area, this step however is done when do_deploy of kernel is finished and we need to pin that in dependency list, otherwise there are build race conditions during builds especially visible when building with initramfs enabled.

---
 classes/sdcard_image-rpi.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
classes/sdcard_image-rpi.bbclass +1 -1
index 2e9bdb3..f20ff04 100644
@@ -53,7 +53,7 @@ IMAGE_DEPENDS_rpi-sdimg = " \
 			parted-native \
 			mtools-native \
 			dosfstools-native \
-			virtual/kernel \
+			virtual/kernel:do_deploy \
 			${IMAGE_BOOTLOADER} \
 			${@bb.utils.contains('KERNEL_IMAGETYPE', 'uImage', 'u-boot', '',d)} \
 			"
Signature · 1 line
2.7.3