summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRasmus Villemoes <rv@rasmusvillemoes.dk>2018-08-21 12:01:44 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-08-23 09:04:29 +0100
commit9873b21e8995436c4ca4c3acfda2e00847a2224e (patch)
treec39ce7ae92ad9bcbcc06abdd278d59b64f2f16f2 /meta
parent04d2f75b4a796e4f4020625fc6fbfe3e0c6dd247 (diff)
downloadpoky-9873b21e8995436c4ca4c3acfda2e00847a2224e.tar.gz
package.bbclass: 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: 38180b5c1044be13458fb927ad1babae61e4c51f) 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/classes/package.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 323ba051ae..df9aacb237 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -1024,7 +1024,7 @@ python split_and_strip_files () {
1024 else: 1024 else:
1025 inodes[file_reference] = [file] 1025 inodes[file_reference] = [file]
1026 # break hardlink 1026 # break hardlink
1027 bb.utils.copyfile(file, file) 1027 bb.utils.break_hardlinks(file)
1028 elffiles[file] = elf_file 1028 elffiles[file] = elf_file
1029 # Modified the file so clear the cache 1029 # Modified the file so clear the cache
1030 cpath.updatecache(file) 1030 cpath.updatecache(file)