[oe-commits] [openembedded-core] 01/36: package.bbclass: use bb.utils.break_hardlinks helper
git at git.openembedded.org
git at git.openembedded.org
Wed Aug 22 22:15:02 UTC 2018
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit 37d6ff6c997e67bd8f571be73aa19b4f7a8d1c13
Author: Rasmus Villemoes <rv at rasmusvillemoes.dk>
AuthorDate: Tue Aug 21 12:01:44 2018 +0200
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 .
Signed-off-by: Rasmus Villemoes <rv at rasmusvillemoes.dk>
Signed-off-by: Richard Purdie <richard.purdie at 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 4ce9de2..8dca3b0 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -1029,7 +1029,7 @@ python split_and_strip_files () {
else:
inodes[file_reference] = [file]
# break hardlink
- bb.utils.copyfile(file, file)
+ bb.utils.break_hardlinks(file)
elffiles[file] = elf_file
# Modified the file so clear the cache
cpath.updatecache(file)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list