[oe-commits] [openembedded-core] 04/12: manifest.py: sort package list

git at git.openembedded.org git at git.openembedded.org
Wed Jan 10 22:18:30 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit f3b753943d0c886a2a158247d2ea02867f3c0dae
Author: Michael Blättler <michael.blaettler at siemens.com>
AuthorDate: Mon Jan 8 08:42:38 2018 +0100

    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 at siemens.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/lib/oe/manifest.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/lib/oe/manifest.py b/meta/lib/oe/manifest.py
index 60c49be..674303c 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):

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list