mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
lib/classextend: Fix determinism issue
The ordering of dependency variables needs to be deterministic to avoid task checksums changing. Use an OrderedDict to achieve this. (From OE-Core rev: 855a2d21503856af392ab2d54ccfa270505ba142) (From OE-Core rev: a89e4e27ba3f4bc3d1c649b3b8ad8ddc4d227d0d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
cc2522771e
commit
22f8a46d2d
|
|
@ -1,3 +1,5 @@
|
|||
import collections
|
||||
|
||||
class ClassExtender(object):
|
||||
def __init__(self, extname, d):
|
||||
self.extname = extname
|
||||
|
|
@ -77,7 +79,7 @@ class ClassExtender(object):
|
|||
self.d.setVar("EXTENDPKGV", orig)
|
||||
return
|
||||
deps = bb.utils.explode_dep_versions2(deps)
|
||||
newdeps = {}
|
||||
newdeps = collections.OrderedDict()
|
||||
for dep in deps:
|
||||
newdeps[self.map_depends(dep)] = deps[dep]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user