Skip to contentSkip to conversation

IMAGE_CLASSES: image_types_uboot is no longer a class

PATCH In review Max Krummenacher 2 participants 2 messages Jul 26, 2017 – Jul 31, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 IMAGE_CLASSES: image_types_uboot is no longer a class

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.

---
 classes/mfgtool-initramfs-image.bbclass | 1 -
 conf/machine/include/qoriq-base.inc     | 2 --
 2 files changed, 3 deletions(-)
classes/mfgtool-initramfs-image.bbclass +0 -1
index afe5124..587f56e 100644
@@ -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 = " \
conf/machine/include/qoriq-base.inc +0 -2
index 6c25d50..2210cf5 100644
@@ -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}"
 
Signature · 1 line
2.9.4
#1 lore raw
Quoted 7 lines · Max Krummenacher

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:

Quoted 8 lines
| 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.

Sorry for missing your patch when applying mine. I will be more careful next time :-(

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750