summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-09 14:13:44 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-17 21:28:14 +0100
commita89e4e27ba3f4bc3d1c649b3b8ad8ddc4d227d0d (patch)
tree342d5b0b22b1b33ba9dbbb0853a58661b01e3a83 /meta/lib/oe
parent438b140050a9040cdfb150bd53ecfd0647ec7d97 (diff)
downloadopenembedded-core-a89e4e27ba3f4bc3d1c649b3b8ad8ddc4d227d0d.tar.gz
openembedded-core-a89e4e27ba3f4bc3d1c649b3b8ad8ddc4d227d0d.tar.bz2
openembedded-core-a89e4e27ba3f4bc3d1c649b3b8ad8ddc4d227d0d.zip
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> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe')
-rw-r--r--meta/lib/oe/classextend.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/lib/oe/classextend.py b/meta/lib/oe/classextend.py
index 5107ecde26..4c8a00070c 100644
--- a/meta/lib/oe/classextend.py
+++ b/meta/lib/oe/classextend.py
@@ -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]