[meta-freescale] [PATCH] IMAGE_CLASSES: image_types_uboot is no longer a class
Max Krummenacher
max.oss.09 at gmail.com
Wed Jul 26 08:48:48 PDT 2017
oe-core removed image_types_uboot.bbclass and provides its function
as CONVERSION_CMD_u-boot.
http://cgit.openembedded.org/openembedded-core/commit/?id=65f27122950a35a67ce39ae4cfe93d0dca6b0dab
Thus adding image_types_uboot to IMAGE_CLASSES results in an error
during meta data parsing:
| Loaded 3662 entries from dependency cache.
| ERROR: ParseError at .../openembedded-core/meta/classes/image.bbclass:184:
| Could not inherit file classes/image_types_uboot.bbclass
Note that I did not test if the e.g. IMAGE_FSTYPES = "cpio.gz.u-boot"
image is correctly created.
Signed-off-by: Max Krummenacher <max.krummenacher at toradex.com>
---
classes/mfgtool-initramfs-image.bbclass | 1 -
conf/machine/include/qoriq-base.inc | 2 --
2 files changed, 3 deletions(-)
diff --git a/classes/mfgtool-initramfs-image.bbclass b/classes/mfgtool-initramfs-image.bbclass
index afe5124..587f56e 100644
--- a/classes/mfgtool-initramfs-image.bbclass
+++ b/classes/mfgtool-initramfs-image.bbclass
@@ -15,7 +15,6 @@ 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"
# Filesystems enabled by default
DEFAULT_FS_SUPPORT = " \
diff --git a/conf/machine/include/qoriq-base.inc b/conf/machine/include/qoriq-base.inc
index 6c25d50..2210cf5 100644
--- a/conf/machine/include/qoriq-base.inc
+++ b/conf/machine/include/qoriq-base.inc
@@ -9,8 +9,6 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-qoriq"
PREFERRED_PROVIDER_qemu = "qemu-qoriq"
PREFERRED_VERSION_testfloat = "2a"
-IMAGE_CLASSES += "image_types_uboot"
-
SOC_DEFAULT_IMAGE_FSTYPES = "tar.gz ext2.gz.u-boot ext2.gz"
IMAGE_FSTYPES ?= "${SOC_DEFAULT_IMAGE_FSTYPES}"
--
2.9.4
More information about the meta-freescale
mailing list