All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] IMAGE_CLASSES: image_types_uboot is no longer a class
@ 2017-07-26 15:48 Max Krummenacher
  2017-07-31 18:59 ` Otavio Salvador
  0 siblings, 1 reply; 2+ messages in thread
From: Max Krummenacher @ 2017-07-26 15:48 UTC (permalink / raw)
  To: meta-freescale; +Cc: 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:

| 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@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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] IMAGE_CLASSES: image_types_uboot is no longer a class
  2017-07-26 15:48 [PATCH] IMAGE_CLASSES: image_types_uboot is no longer a class Max Krummenacher
@ 2017-07-31 18:59 ` Otavio Salvador
  0 siblings, 0 replies; 2+ messages in thread
From: Otavio Salvador @ 2017-07-31 18:59 UTC (permalink / raw)
  To: Max Krummenacher; +Cc: meta-freescale, Max Krummenacher

On Wed, Jul 26, 2017 at 12:48 PM, Max Krummenacher <max.oss.09@gmail.com> wrote:
> 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@toradex.com>

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


-- 
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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-07-31 18:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-26 15:48 [PATCH] IMAGE_CLASSES: image_types_uboot is no longer a class Max Krummenacher
2017-07-31 18:59 ` Otavio Salvador

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.