]> code.ossystems Code Review - meta-freescale.git/commitdiff
image_types_fsl.bbclass: Add fstype dependency
authorOtavio Salvador <otavio@ossystems.com.br>
Fri, 21 Feb 2014 11:46:08 +0000 (08:46 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 21 Feb 2014 18:38:09 +0000 (15:38 -0300)
The sdcard requires the rootfs filesystem to be built before using it
so we must make this dependency explicit.

Change-Id: Ibacba4c2ff5250785b50d6a7bc7ddf77f6309bb6
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta-fsl-arm/classes/image_types_fsl.bbclass

index 3510452f5305ab2e2ad3b037a76603c568740216..fd2effd2be649e49379bf1f9160b7fb23021e75c 100644 (file)
@@ -297,3 +297,7 @@ IMAGE_CMD_sdcard () {
 
        ${SDCARD_GENERATION_COMMAND}
 }
+
+# The sdcard requires the rootfs filesystem to be built before using
+# it so we must make this dependency explicit.
+IMAGE_TYPEDEP_sdcard = "${@d.getVar('SDCARD_ROOTFS', 1).split('.')[-1]}"