summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Kiernan <alex.kiernan@gmail.com>2020-01-19 18:04:27 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-01-22 15:56:14 +0000
commitfd983f2e9b6e2ada9bc4cb3779ca1c8950297cbf (patch)
treeae01ce6c350e9bd37be9ccc1c18a5348137e9d7b
parent97b5b17cb1e589c592c505651608094ec33767cf (diff)
downloadpoky-contrib-fd983f2e9b6e2ada9bc4cb3779ca1c8950297cbf.tar.gz
poky-contrib-fd983f2e9b6e2ada9bc4cb3779ca1c8950297cbf.tar.bz2
poky-contrib-fd983f2e9b6e2ada9bc4cb3779ca1c8950297cbf.zip
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. (From OE-Core rev: 3f781ebd9dfbee143907190c6db5b86d501c3e63) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oe/package_manager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py
index e96c28b46d..2ea8046332 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"]