Skip to contentSkip to conversation

beaglebone-yocto: Add missing wic image u-boot deploy dependency

PATCH New Richard Purdie 1 participant 1 message May 31, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 beaglebone-yocto: Add missing wic image u-boot deploy dependency

The wic image built for beaglebone-yocto needs the u-boot deployed artefacts but there is no direct dependency. Usually this happens to work but if the u-boot build fails, the image built with -k exposes this race.

Add the missing dependnecy.

[YOCTO #13280]

---
 meta-yocto-bsp/conf/machine/beaglebone-yocto.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-yocto-bsp/conf/machine/beaglebone-yocto.conf +1 -1
index bc18ee8c47e..35814cd8f1a 100644
@@ -18,7 +18,7 @@ IMAGE_FSTYPES += "tar.bz2 jffs2 wic wic.bmap"
 EXTRA_IMAGECMD_jffs2 = "-lnp "
 WKS_FILE ?= "beaglebone-yocto.wks"
 IMAGE_INSTALL_append = " kernel-devicetree kernel-image-zimage"
-do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot"
+do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot u-boot:do_deploy"
 
 SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyO0"
 SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
Signature · 1 line
2.20.1