[oe-commits] [openembedded-core] 10/11: lib/oe/package_manager: Improve locale-archive reproducibility

git at git.openembedded.org git at git.openembedded.org
Tue Jan 21 23:53:26 UTC 2020


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 2a6c91da8a02aa5365bf11731a361883e123eb39
Author: Alex Kiernan <alex.kiernan at gmail.com>
AuthorDate: Sun Jan 19 18:04:27 2020 +0000

    lib/oe/package_manager: Improve locale-archive reproducibility
    
    The generation of locale-archive depends on the order of the input
    files. Fix the order by sorting the file list.
    
    Signed-off-by: Alex Kiernan <alex.kiernan at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/lib/oe/package_manager.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py
index e96c28b..2ea8046 100644
--- a/meta/lib/oe/package_manager.py
+++ b/meta/lib/oe/package_manager.py
@@ -132,7 +132,7 @@ def generate_locale_archive(d, rootfs, target_arch, localedir):
     env = dict(os.environ)
     env["LOCALEARCHIVE"] = oe.path.join(localedir, "locale-archive")
 
-    for name in os.listdir(localedir):
+    for name in sorted(os.listdir(localedir)):
         path = os.path.join(localedir, name)
         if os.path.isdir(path):
             cmd = ["cross-localedef", "--verbose"]

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


More information about the Openembedded-commits mailing list