[gnome-continuous-yocto/gnomeostree-3.28-rocko: 4549/8267] image_types.bbclass: fix image dependency chain collection



commit 1baae2a0d19801197205671298b499dac631d4f1
Author: Andre McCurdy <armccurdy gmail com>
Date:   Sun Feb 5 19:42:48 2017 -0800

    image_types.bbclass: fix image dependency chain collection
    
    If image type "foo" depends on image type "bar.xz", then dependencies
    should be collected from the base image type (ie "IMAGE_DEPENDS_bar")
    not from "IMAGE_DEPENDS_bar.xz".
    
    (From OE-Core rev: 8a9f249a9166347cc0468191ce130003e3d306e1)
    
    Signed-off-by: Andre McCurdy <armccurdy gmail com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/classes/image_types.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass
index 0adb6e4..fd19112 100644
--- a/meta/classes/image_types.bbclass
+++ b/meta/classes/image_types.bbclass
@@ -33,8 +33,8 @@ def imagetypes_getdepends(d):
 
         for typedepends in (d.getVar("IMAGE_TYPEDEP_%s" % basetype) or "").split():
             base, rest = split_types(typedepends)
+            adddep(d.getVar('IMAGE_DEPENDS_%s' % base) , deps)
             resttypes += rest
-            adddep(d.getVar('IMAGE_DEPENDS_%s' % typedepends) , deps)
 
         for ctype in resttypes:
             adddep(d.getVar("CONVERSION_DEPENDS_%s" % ctype), deps)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]