Recent changes broke the preservation of hardlinks during processing due to a 
missing index.
Fix this, reducing the size of the git recipe packages in particular (it 
contains many hardlinks).

Signed-off-by: Richard Purdie <richard.pur...@linuxfoundation.org>
---
 meta/classes/package.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 80233a8f5e8..8459d39b27e 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -1021,7 +1021,7 @@ python split_and_strip_files () {
                 #  c) Track any hardlinks between files so that we can 
reconstruct matching debug file hardlinks
 
                 # Use a reference of device ID and inode number to identify 
files
-                file_reference = checkelf[file]
+                file_reference = checkelf[file][1]
                 if file_reference in inodes:
                     os.unlink(file)
                     os.link(inodes[file_reference][0], file)
-- 
2.17.1

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to