diff options
author | Rasmus Villemoes <rv@rasmusvillemoes.dk> | 2018-08-21 12:01:45 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-23 09:04:23 +0100 |
commit | a09f8e32044c8daec2d2fb3ff0e830c21402df6e (patch) | |
tree | 2353da677f0e5d580f131f8c3b868f842a542cb3 /meta | |
parent | 38180b5c1044be13458fb927ad1babae61e4c51f (diff) | |
download | openembedded-core-a09f8e32044c8daec2d2fb3ff0e830c21402df6e.tar.gz openembedded-core-a09f8e32044c8daec2d2fb3ff0e830c21402df6e.tar.bz2 openembedded-core-a09f8e32044c8daec2d2fb3ff0e830c21402df6e.zip |
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 .
Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/lib/oe/package.py | 2 |
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 else: # break hardlinks so that we do not strip the original. inodes[inodecache[file]] = file - bb.utils.copyfile(file, file) + bb.utils.break_hardlinks(file) elffiles[file] = elf_file # |