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:24 +0000 |
commit | f5571bda8327f927feb23b167ab4594b7d0c95bc (patch) | |
tree | 6d4cfb48f15c5b6253dbb4a2f37631b8bf034070 /meta/recipes-multimedia/gstreamer | |
parent | 1bb2aa53a74e36dc3ba901b9d8ce780e7880cef8 (diff) | |
download | openembedded-core-contrib-f5571bda8327f927feb23b167ab4594b7d0c95bc.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.
Signed-off-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/gstreamer')
0 files changed, 0 insertions, 0 deletions