diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2017-02-05 19:42:48 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-07 14:50:10 +0000 |
commit | 1baae2a0d19801197205671298b499dac631d4f1 (patch) | |
tree | 5e6477309ac3e59b691e27c0535494af1f204371 | |
parent | 36e7717efecd36663b206c416f60aacff1f11257 (diff) | |
download | poky-1baae2a0d19801197205671298b499dac631d4f1.tar.gz |
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>
-rw-r--r-- | 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 0adb6e4811..fd19112a12 100644 --- a/meta/classes/image_types.bbclass +++ b/meta/classes/image_types.bbclass | |||
@@ -33,8 +33,8 @@ def imagetypes_getdepends(d): | |||
33 | 33 | ||
34 | for typedepends in (d.getVar("IMAGE_TYPEDEP_%s" % basetype) or "").split(): | 34 | for typedepends in (d.getVar("IMAGE_TYPEDEP_%s" % basetype) or "").split(): |
35 | base, rest = split_types(typedepends) | 35 | base, rest = split_types(typedepends) |
36 | adddep(d.getVar('IMAGE_DEPENDS_%s' % base) , deps) | ||
36 | resttypes += rest | 37 | resttypes += rest |
37 | adddep(d.getVar('IMAGE_DEPENDS_%s' % typedepends) , deps) | ||
38 | 38 | ||
39 | for ctype in resttypes: | 39 | for ctype in resttypes: |
40 | adddep(d.getVar("CONVERSION_DEPENDS_%s" % ctype), deps) | 40 | adddep(d.getVar("CONVERSION_DEPENDS_%s" % ctype), deps) |