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) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
f49be7e7c9
commit
69cf7b3273
|
@ -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