summaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2016-07-16 09:48:28 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2016-08-05 14:51:53 -0300
commit23bffd51cc2f5fa31928933ec336f34a0584e54f (patch)
tree1430248e321ebfe64e3628eae8ace430be76f453 /classes
parenta6c68b5fae5c95475de07b4ff6ddd1fef65b59dc (diff)
downloadmeta-freescale-23bffd51cc2f5fa31928933ec336f34a0584e54f.tar.gz
image_types_fsl.bbclass: Ensure i.MX23 and i.MX28 image stream are available
The i.MX23 and i.MX28 image stream must be built prior the sdcard generation. The example of a failure is: ,---- | DEBUG: Executing shell function do_image_sdcard | 0+0 records in | 0+0 records out | 0 bytes (0 B) copied, 1.5848e-05 s, 0.0 kB/s | dd: failed to open '....rootfs.uboot.mxsboot-sdcard': No such file or directory | WARNING: exit code 1 from a shell command. `---- The failure has been found by O.S. Systems autobuilder when running the regression tests. Change-Id: I64ecca1160e038e15629516f97e8ade5d645be31 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'classes')
-rw-r--r--classes/image_types_fsl.bbclass7
1 files changed, 7 insertions, 0 deletions
diff --git a/classes/image_types_fsl.bbclass b/classes/image_types_fsl.bbclass
index 91641c70..5f3a9c69 100644
--- a/classes/image_types_fsl.bbclass
+++ b/classes/image_types_fsl.bbclass
@@ -325,3 +325,10 @@ IMAGE_CMD_sdcard () {
325# The sdcard requires the rootfs filesystem to be built before using 325# The sdcard requires the rootfs filesystem to be built before using
326# it so we must make this dependency explicit. 326# it so we must make this dependency explicit.
327IMAGE_TYPEDEP_sdcard += "${@d.getVar('SDCARD_ROOTFS', 1).split('.')[-1]}" 327IMAGE_TYPEDEP_sdcard += "${@d.getVar('SDCARD_ROOTFS', 1).split('.')[-1]}"
328
329# In case we are building for i.MX23 or i.MX28 we need to have the
330# image stream built before the sdcard generation
331IMAGE_TYPEDEP_sdcard += " \
332 ${@bb.utils.contains('IMAGE_FSTYPES', 'uboot.mxsboot-sdcard', 'uboot.mxsboot-sdcard', '', d)} \
333 ${@bb.utils.contains('IMAGE_FSTYPES', 'barebox.mxsboot-sdcard', 'barebox.mxsboot-sdcard', '', d)} \
334"