From d80aa91c2854c445dea280c148f08b18470edb4e Mon Sep 17 00:00:00 2001 From: Javier Viguera Date: Tue, 19 Jul 2016 12:35:51 +0200 Subject: [PATCH] meta-digi-arm: set 'boot.ubifs' image depends explictly To build the CC6UL boot image, the u-boot and linux images need to be already deployed. Also the native mtd-utils package needs to be available in the sysroot. Make all this dependences explicit for deterministic reproducibility. Signed-off-by: Javier Viguera --- meta-digi-arm/classes/image_types_digi.bbclass | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/meta-digi-arm/classes/image_types_digi.bbclass b/meta-digi-arm/classes/image_types_digi.bbclass index e2946ea7a..1805de6e7 100644 --- a/meta-digi-arm/classes/image_types_digi.bbclass +++ b/meta-digi-arm/classes/image_types_digi.bbclass @@ -71,6 +71,12 @@ IMAGE_CMD_boot.vfat() { fi } +IMAGE_DEPENDS_boot.ubifs = " \ + mtd-utils-native:do_populate_sysroot \ + u-boot:do_deploy \ + virtual/kernel:do_deploy \ +" + IMAGE_CMD_boot.ubifs() { # # Image generation code for image type 'boot.ubifs'