All of lore.kernel.org
 help / color / mirror / Atom feed
From: Max Krummenacher <max.oss.09@gmail.com>
To: meta-freescale@yoctoproject.org
Cc: Max Krummenacher <max.krummenacher@toradex.com>
Subject: [PATCH] IMAGE_CLASSES: image_types_uboot is no longer a class
Date: Wed, 26 Jul 2017 17:48:48 +0200	[thread overview]
Message-ID: <20170726154848.26170-1-max.krummenacher@toradex.com> (raw)

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



             reply	other threads:[~2017-07-26 15:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-26 15:48 Max Krummenacher [this message]
2017-07-31 18:59 ` [PATCH] IMAGE_CLASSES: image_types_uboot is no longer a class Otavio Salvador

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170726154848.26170-1-max.krummenacher@toradex.com \
    --to=max.oss.09@gmail.com \
    --cc=max.krummenacher@toradex.com \
    --cc=meta-freescale@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.