diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-12-12 22:58:17 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-13 13:07:01 +0000 |
commit | 3a83fec8142741d79c3462255847e5aa0e5d47fd (patch) | |
tree | 2ae1d0b74548de51bd9fb2fdff03554082a4768c /README.hardware | |
parent | 402b552239e836a1766a6f53fb02587e14963827 (diff) | |
download | poky-3a83fec8142741d79c3462255847e5aa0e5d47fd.tar.gz |
sstate: Improve move into place op and touch file
Depending on the kernel and coreutils version, mv operations test for existence
of files and can potentially race. It also leads to the file always changing which
leads to potential problems if using and NFS share and there are other readers.
Using ln instead means we don't overwrite the file if it already exists meaning
other readers aren't disrupted and should work more reliably on NFS which is used
for sstate on the autobuilder.
Since we're not overwriting files, touch the file to show activity as would have
been done it it were reused from sstate.
(From OE-Core rev: d8e9a22a4e23616ad01627c1e472296b1e26f13c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'README.hardware')
0 files changed, 0 insertions, 0 deletions