summaryrefslogtreecommitdiffstats
path: root/meta
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 /meta
parent97b5b17cb1e589c592c505651608094ec33767cf (diff)
downloadpoky-fd983f2e9b6e2ada9bc4cb3779ca1c8950297cbf.tar.gz
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>
Diffstat (limited to 'meta')
-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):
132 env = dict(os.environ) 132 env = dict(os.environ)
133 env["LOCALEARCHIVE"] = oe.path.join(localedir, "locale-archive") 133 env["LOCALEARCHIVE"] = oe.path.join(localedir, "locale-archive")
134 134
135 for name in os.listdir(localedir): 135 for name in sorted(os.listdir(localedir)):
136 path = os.path.join(localedir, name) 136 path = os.path.join(localedir, name)
137 if os.path.isdir(path): 137 if os.path.isdir(path):
138 cmd = ["cross-localedef", "--verbose"] 138 cmd = ["cross-localedef", "--verbose"]