https://autobuilder.yoctoproject.org/main/builders/nightly-fsl-arm/builds/603/steps/BuildImages_2/logs/stdio You can also run generated qemu images with a command like 'runqemu qemux86' WARNING: Host distribution "CentOS-Linux-7.1.1503" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution. Parsing recipes...ERROR: No IMAGE_CMD defined for IMAGE_FSTYPES entry 'uboot.mxsboot-sdcard' - possibly invalid type name or missing support class ERROR: Failed to parse recipe: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-fsl-arm/build/meta-fsl-arm/recipes-fsl/images/fsl-image-mfgtool-initramfs.bb Summary: There was 1 WARNING message shown. Summary: There were 2 ERROR messages shown, returning a non-zero exit code. program finished with exit code 1 The layer needs something like: diff --git a/classes/mfgtool-initramfs-image.bbclass b/classes/mfgtool-initramfs-image.bbclass index dee3137..36d5f8f 100644 --- a/classes/mfgtool-initramfs-image.bbclass +++ b/classes/mfgtool-initramfs-image.bbclass @@ -13,6 +13,7 @@ FEATURE_PACKAGES_extfs = "packagegroup-fsl-mfgtool-extfs" FEATURE_PACKAGES_f2fs = "packagegroup-fsl-mfgtool-f2fs" IMAGE_FSTYPES = "cpio.gz.u-boot" +IMAGE_FSTYPES_mxs = "cpio.gz.u-boot" IMAGE_ROOTFS_SIZE ?= "8192" IMAGE_CLASSES = "image_types_uboot" (since the IMAGE_FSTYPES override n the core overrides this otherwise, leading to a parse failures since IMAGE_CLASSES is changed to a class which doesn't include the sdcard image definition).
The proposed fix has been reworked[1] and sent for review. 1. http://patchwork.openembedded.org/patch/113775/ However, OE-Core also needs fixing as it needs to mangle the tasks name for a valid one. This can be done using: <pre> diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 3870516..797f342 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass @@ -395,9 +395,9 @@ python () { after = 'do_image' for dep in typedeps[t]: - after += ' do_image_%s' % dep.replace("-", "_") + after += ' do_image_%s' % dep.replace("-", "_").replace(".", "_") - t = t.replace("-", "_") + t = t.replace("-", "_").replace(".", "_") d.setVar('do_image_%s' % t, '\n'.join(cmds)) d.setVarFlag('do_image_%s' % t, 'func', '1') </pre> Richard is going to send a patch for OE-Core to address this.
Fixed in: http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/commit/?id=3848dc0cb4ab9f271e9654dc2271880124153466
Verified on https://autobuilder.yoctoproject.org/main/builders/nightly-fsl-arm/builds/623/steps/BuildImages_2/logs/stdio