summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia
diff options
context:
space:
mode:
authorHenning Schild <henning.schild@siemens.com>2020-01-24 14:48:47 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-04 15:56:29 +0000
commitd02d938cc635de77745d6f287f4222b148b9827d (patch)
tree5c6f1be39c70911ac4ab364f6728a7395df62e3a /meta/recipes-multimedia
parent0a99a2e2da76bff9edec3193af11f35506b2a88c (diff)
downloadpoky-d02d938cc635de77745d6f287f4222b148b9827d.tar.gz
lib/oe/path: try hardlinking instead of guessing when it might fail
The comparison of the stat st_dev is not enough to judge whether hardlinking will work. One example would be where you try and hardlink across two bind-mounts of a directory. The st_dev will be the same and the operation will still fail. Instead of implementing a check to try and figure out hardlink support just try hardlinking and fall back to a copy when running into an exception. (From OE-Core rev: f5571bda8327f927feb23b167ab4594b7d0c95bc) Signed-off-by: Henning Schild <henning.schild@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia')
0 files changed, 0 insertions, 0 deletions