summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/package.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 80233a8f5e..8459d39b27 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -1021,7 +1021,7 @@ python split_and_strip_files () {
1021 # c) Track any hardlinks between files so that we can reconstruct matching debug file hardlinks 1021 # c) Track any hardlinks between files so that we can reconstruct matching debug file hardlinks
1022 1022
1023 # Use a reference of device ID and inode number to identify files 1023 # Use a reference of device ID and inode number to identify files
1024 file_reference = checkelf[file] 1024 file_reference = checkelf[file][1]
1025 if file_reference in inodes: 1025 if file_reference in inodes:
1026 os.unlink(file) 1026 os.unlink(file)
1027 os.link(inodes[file_reference][0], file) 1027 os.link(inodes[file_reference][0], file)