diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-24 16:11:56 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-26 07:34:58 +0000 |
commit | 84d5924012c58091a15459ea8101c9b78c996776 (patch) | |
tree | f0b4addcf27d034b993461b2cb452082865ddd5f /meta-yocto-bsp/conf/machine | |
parent | b036afb53783d8600e505ee5a480a8a9f89a0403 (diff) | |
download | poky-84d5924012c58091a15459ea8101c9b78c996776.tar.gz |
bitbake: fetch2: Handle lockfiles for file:// urls redirected to mirrors
We recently dropped lockfiles for file:// urls which in itself makes
sense.
If a file url redirects to something like an http:// mirror, we'd have
no lock taken for the original file and could race against others
trying to download the file. We therefore need to ensure there is a
lock taken in the mirror handling code.
This adds code to take such a lock, assuming it isn't the same lock
as the parent url.
(Bitbake rev: 913b6ce22cd50eac96e8937c5ffc704bfce2c023)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-yocto-bsp/conf/machine')
0 files changed, 0 insertions, 0 deletions