diff options
author | Henning Schild <henning.schild@siemens.com> | 2020-01-24 14:48:47 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-02-04 15:56:29 +0000 |
commit | d02d938cc635de77745d6f287f4222b148b9827d (patch) | |
tree | 5c6f1be39c70911ac4ab364f6728a7395df62e3a /meta/recipes-multimedia | |
parent | 0a99a2e2da76bff9edec3193af11f35506b2a88c (diff) | |
download | poky-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