All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mfgtool-initramfs-image.bbclass: do not overwrite IMAGE_CLASSES
@ 2017-01-13 23:28 Mirza Krak
  0 siblings, 0 replies; only message in thread
From: Mirza Krak @ 2017-01-13 23:28 UTC (permalink / raw)
  To: meta-freescale

From: Mirza Krak <mirza.krak@gmail.com>

Use the += operator instead to add image_types_uboot to IMAGE_CLASSES
which will correctly append that image type.

Signed-off-by: Mirza Krak <mirza.krak@gmail.com>
---

Based on mailing list discussion:
https://lists.yoctoproject.org/pipermail/meta-freescale/2017-January/019949.html

 classes/mfgtool-initramfs-image.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/classes/mfgtool-initramfs-image.bbclass b/classes/mfgtool-initramfs-image.bbclass
index 42792f6..afe5124 100644
--- a/classes/mfgtool-initramfs-image.bbclass
+++ b/classes/mfgtool-initramfs-image.bbclass
@@ -15,7 +15,7 @@ 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"
+IMAGE_CLASSES += "image_types_uboot"

 # Filesystems enabled by default
 DEFAULT_FS_SUPPORT = " \
--
2.1.4



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-01-14  0:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-13 23:28 [PATCH] mfgtool-initramfs-image.bbclass: do not overwrite IMAGE_CLASSES Mirza Krak

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.