mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 21:32:12 +02:00
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. (From OE-Core rev: f3b753943d0c886a2a158247d2ea02867f3c0dae) Signed-off-by: Michael Blättler <michael.blaettler@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
e80d3b6b47
commit
d7d59e75cf
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user