summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe
diff options
context:
space:
mode:
authorRasmus Villemoes <rv@rasmusvillemoes.dk>2018-08-21 12:01:45 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-08-23 09:04:29 +0100
commit7b23f6124bf40c8c9beb4a46b1477728c90d65ab (patch)
tree56e0901d47c2ee561a5d59e1b0c7c89bcfebd50f /meta/lib/oe
parent9873b21e8995436c4ca4c3acfda2e00847a2224e (diff)
downloadpoky-7b23f6124bf40c8c9beb4a46b1477728c90d65ab.tar.gz
lib/oe/package.py: use bb.utils.break_hardlinks helper
This does the same thing, but is more efficient in case st_nlinks is (already) 1. Depends on bitbake commit 7ae93cf40ab91965147055100432961436bce46c . (From OE-Core rev: a09f8e32044c8daec2d2fb3ff0e830c21402df6e) Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe')
-rw-r--r--meta/lib/oe/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/package.py b/meta/lib/oe/package.py
index 21c80aaa38..efd36b3758 100644
--- a/meta/lib/oe/package.py
+++ b/meta/lib/oe/package.py
@@ -159,7 +159,7 @@ def strip_execs(pn, dstdir, strip_cmd, libdir, base_libdir, d, qa_already_stripp
159 else: 159 else:
160 # break hardlinks so that we do not strip the original. 160 # break hardlinks so that we do not strip the original.
161 inodes[inodecache[file]] = file 161 inodes[inodecache[file]] = file
162 bb.utils.copyfile(file, file) 162 bb.utils.break_hardlinks(file)
163 elffiles[file] = elf_file 163 elffiles[file] = elf_file
164 164
165 # 165 #