]> code.ossystems Code Review - meta-freescale.git/commit
mfgtool-initramfs-image.bbclass: Fix parsing when using a barebox based machine
authorOtavio Salvador <otavio@ossystems.com.br>
Thu, 14 Apr 2016 19:23:52 +0000 (16:23 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 19 Apr 2016 18:06:34 +0000 (15:06 -0300)
commit6bd357c1b38555cd7011434a28df66effe30b74e
treef7ddca529825997d5ee87640346432e635181097
parent74e729bbc1eb21e83d9f94efe89b4f9bda693a4d
mfgtool-initramfs-image.bbclass: Fix parsing when using a barebox based machine

When building for cfa100xx machines, for meta-fsl-arm-extra, the
parsing is aborted with:

,----
| ERROR: No IMAGE_CMD defined for IMAGE_FSTYPES entry
|     'barebox.mxsboot-sdcard' - possibly invalid type name or missing
|     support class
| ERROR: Failed to parse recipe:
|     .../sources/meta-fsl-arm/recipes-fsl/images/fsl-image-mfgtool-initramfs.bb
`----

This error was caused by the image not providing all the filesystem
types as in fact it generates a Gzipped CPIO filesystem and does not
inherit the default ones.

To solve the error we ought to include the override for 'mxs' SoC
family so the right setting is used as well in this set of SoCs.

Change-Id: If6e657793ed7af07decac217f6b3371fad1f521c
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
classes/mfgtool-initramfs-image.bbclass