[yocto] [meta-cgl][PATCH 2/2] distro: Move IMAGE_CLASSES inheritance

Alexandru Vaduva vaduvajanalexandru at yahoo.com
Wed May 11 08:17:46 PDT 2016


Hello Adi, Cannot this two patches be redone by:               removingfrom  "[PATCH 1/2] Added devicemanager multipath support for root file system" the line "+IMAGE_CLASSES+= "image_types_uboot""               onlykeeping in "[PATCH 2/2] distro: Move IMAGE_CLASSES inheritance"  the line from " poky-cgl.conf".
 Thanks,Alex V. 

    On Tuesday, May 10, 2016 1:06 PM, Adrian Dudau <adrian.dudau at enea.com> wrote:
 

 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

-- 
_______________________________________________
yocto mailing list
yocto at yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160511/fce5924a/attachment.html>


More information about the yocto mailing list