mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
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: 854fff614059100494326adeec7c48fa5272d080) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 8a9f249a9166347cc0468191ce130003e3d306e1) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
6c3d10ea62
commit
99c6c878ee
|
|
@ -33,8 +33,8 @@ def imagetypes_getdepends(d):
|
|||
|
||||
for typedepends in (d.getVar("IMAGE_TYPEDEP_%s" % basetype, True) or "").split():
|
||||
base, rest = split_types(typedepends)
|
||||
adddep(d.getVar('IMAGE_DEPENDS_%s' % base, True) , deps)
|
||||
resttypes += rest
|
||||
adddep(d.getVar('IMAGE_DEPENDS_%s' % typedepends, True) , deps)
|
||||
|
||||
for ctype in resttypes:
|
||||
adddep(d.getVar("CONVERSION_DEPENDS_%s" % ctype, True), deps)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user