summaryrefslogtreecommitdiffstats
path: root/scripts/lib/scriptutils.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-10-22 03:59:14 -1000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-10-23 17:47:38 +0100
commit9827758ebe3c0b6b4f06dedc814b810629b184e3 (patch)
treec12ab6e8d01d071a0027c5431ef72db16736a71c /scripts/lib/scriptutils.py
parenta07f53efa876d100190dc10351277f4a629ab9a1 (diff)
downloadpoky-9827758ebe3c0b6b4f06dedc814b810629b184e3.tar.gz
bitbake: fetch2/git: Avoid races over mirror tarball creation
There is a potential race over the mirror tarballs where a partial git repo could be extracted causing fetcher failures if the tarball is being rewritten whilst another build accesses it. Create the mirror tarball atomically to avoid this. [YOCTO #14441] (Bitbake rev: e3da0ecbd282da060b52a4bcf3ed36497295fde0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 3250bc950c56bd7dd2114df26e5a8e13b04ceac8) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/scriptutils.py')
0 files changed, 0 insertions, 0 deletions