summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/gnutls/gnutls.inc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-03 15:11:33 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-07-09 10:53:54 +0100
commita27d06dbc49e5fe6c55e572bf15b38d46be7478c (patch)
tree8d3f12e1841167c843641c151dd99b5d424ac95c /meta/recipes-support/gnutls/gnutls.inc
parent2b9f62bf4383570514c622f84ad2268a882d5045 (diff)
downloadpoky-a27d06dbc49e5fe6c55e572bf15b38d46be7478c.tar.gz
path.py: Deal with race issue
The change to use copyhardlinktree in some of the sstate code instead of copytree exposed a race condition. This is due to cp failing if it finds a directory doesn't exist yet some other process creates it while cp was trying to create it itself. tar doesn't error in this case. To fix this we need to create the directory structure with tar, then use cp to hardlink the files. Messy but probably worth doing. I also took the opportunity to remove src_bak since the code is neater without it. (From OE-Core master rev: 2f954a9a6932f1e6c564e7e7aacaac628a75eed7) (From OE-Core rev: 3dd03bb4fd868c512dfee2161bd55867c358b8fc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/gnutls/gnutls.inc')
0 files changed, 0 insertions, 0 deletions