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.

Signed-off-by: Khem Raj <raj.k...@gmail.com>
---
 classes/sdcard_image-rpi.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/classes/sdcard_image-rpi.bbclass b/classes/sdcard_image-rpi.bbclass
index 2e9bdb3..f20ff04 100644
--- a/classes/sdcard_image-rpi.bbclass
+++ b/classes/sdcard_image-rpi.bbclass
@@ -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)} \
                        "
-- 
1.9.1

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to