mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 00:49:33 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
04d2f75b4a
commit
9873b21e89
@@ -1024,7 +1024,7 @@ python split_and_strip_files () {
|
|||||||
else:
|
else:
|
||||||
inodes[file_reference] = [file]
|
inodes[file_reference] = [file]
|
||||||
# break hardlink
|
# break hardlink
|
||||||
bb.utils.copyfile(file, file)
|
bb.utils.break_hardlinks(file)
|
||||||
elffiles[file] = elf_file
|
elffiles[file] = elf_file
|
||||||
# Modified the file so clear the cache
|
# Modified the file so clear the cache
|
||||||
cpath.updatecache(file)
|
cpath.updatecache(file)
|
||||||
|
|||||||
Reference in New Issue
Block a user