summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/package.bbclass6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 4c0a859536..0694855504 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -1005,6 +1005,12 @@ python split_and_strip_files () {
1005 symlinks[file] = target 1005 symlinks[file] = target
1006 1006
1007 results = oe.utils.multiprocess_launch(oe.package.is_elf, checkelf.keys(), d) 1007 results = oe.utils.multiprocess_launch(oe.package.is_elf, checkelf.keys(), d)
1008
1009 # Sort results by file path. This ensures that the files are always
1010 # processed in the same order, which is important to make sure builds
1011 # are reproducible when dealing with hardlinks
1012 results.sort(key=lambda x: x[0])
1013
1008 for (file, elf_file) in results: 1014 for (file, elf_file) in results:
1009 # It's a file (or hardlink), not a link 1015 # It's a file (or hardlink), not a link
1010 # ...but is it ELF, and is it already stripped? 1016 # ...but is it ELF, and is it already stripped?