aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Blättler <michael.blaettler@siemens.com>2018-01-08 08:42:38 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-10 22:14:52 +0000
commitf3b753943d0c886a2a158247d2ea02867f3c0dae (patch)
tree3428afc746de7179bee5ecb4d894759b91d3c378
parent6b25c76da51180da7c97308d5f8f5558c68cdca3 (diff)
downloadopenembedded-core-contrib-f3b753943d0c886a2a158247d2ea02867f3c0dae.tar.gz
manifest.py: sort package list
The entries of the created manifest file are always in a different order. To ensure a deterministic build output the entries are ordered alphabetically. Signed-off-by: Michael Blättler <michael.blaettler@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oe/manifest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oe/manifest.py b/meta/lib/oe/manifest.py
index 60c49be0e9..674303c866 100644
--- a/meta/lib/oe/manifest.py
+++ b/meta/lib/oe/manifest.py
@@ -274,8 +274,8 @@ class OpkgManifest(Manifest):
if pkg_list is not None:
pkgs[self.var_maps[self.manifest_type][var]] = self.d.getVar(var)
- for pkg_type in pkgs:
- for pkg in pkgs[pkg_type].split():
+ for pkg_type in sorted(pkgs):
+ for pkg in sorted(pkgs[pkg_type].split()):
manifest.write("%s,%s\n" % (pkg_type, pkg))
def create_final(self):