]> code.ossystems Code Review - openembedded-core.git/commit
chrpath.bbclass: Add break_hardlinks kwarg to allow breaking hardlinks
authorNathan Rossi <nathan@nathanrossi.com>
Tue, 10 Sep 2019 12:40:59 +0000 (12:40 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 11 Sep 2019 06:30:08 +0000 (07:30 +0100)
commit7628f6bdb5704c018d83e284364994b72557eaa5
treeffedec39113ccd33e91ac23998af750988a63434
parentffe9e4303fa9799d2e8af9188853a262e15af226
chrpath.bbclass: Add break_hardlinks kwarg to allow breaking hardlinks

Add the break_hardlinks kwarg to break hardlinks when modifying files.
This uses the bb.utils.break_hardlinks function to break hardlinks. The
default is to maintain existing behaviour and leave hardlinks in place.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/chrpath.bbclass