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.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2016-03-26 16:59:34 +00:00 committed by Andrei Gherzan
parent 75efa69e75
commit 8f285bb8f3

View File

@ -53,7 +53,7 @@ IMAGE_DEPENDS_rpi-sdimg = " \
parted-native \ parted-native \
mtools-native \ mtools-native \
dosfstools-native \ dosfstools-native \
virtual/kernel \ virtual/kernel:do_deploy \
${IMAGE_BOOTLOADER} \ ${IMAGE_BOOTLOADER} \
${@bb.utils.contains('KERNEL_IMAGETYPE', 'uImage', 'u-boot', '',d)} \ ${@bb.utils.contains('KERNEL_IMAGETYPE', 'uImage', 'u-boot', '',d)} \
" "