[yocto] [meta-cgl][PATCH 2/2] distro: Move IMAGE_CLASSES inheritance
Adrian Dudau
adrian.dudau at enea.com
Tue May 10 03:05:48 PDT 2016
The IMAGE_CLASSES variable affects all images, so it must be defined at
distro level. Move it from the core-image-cgl-initramfs where it has no
effect into the distro definition.
Signed-off-by: Adrian Dudau <adrian.dudau at enea.com>
---
meta-cgl-common/conf/distro/poky-cgl.conf | 2 ++
meta-cgl-common/images/core-image-cgl-initramfs.bb | 1 -
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta-cgl-common/conf/distro/poky-cgl.conf b/meta-cgl-common/conf/distro/poky-cgl.conf
index aff5dec..1fd453e 100644
--- a/meta-cgl-common/conf/distro/poky-cgl.conf
+++ b/meta-cgl-common/conf/distro/poky-cgl.conf
@@ -3,3 +3,5 @@ require conf/distro/poky-lsb.conf
DISTRO = "poky-cgl"
DISTRO_FEATURES_append = " pam selinux"
+
+IMAGE_CLASSES += "image_types_uboot"
diff --git a/meta-cgl-common/images/core-image-cgl-initramfs.bb b/meta-cgl-common/images/core-image-cgl-initramfs.bb
index 845fa07..881f517 100644
--- a/meta-cgl-common/images/core-image-cgl-initramfs.bb
+++ b/meta-cgl-common/images/core-image-cgl-initramfs.bb
@@ -14,7 +14,6 @@ IMAGE_LINGUAS = ""
LICENSE = "MIT"
IMAGE_FSTYPES = "cpio.gz.u-boot"
-IMAGE_CLASSES += "image_types_uboot"
inherit core-image
IMAGE_ROOTFS_SIZE = "8192"
--
1.9.1
More information about the yocto
mailing list