generic-poky/bitbake/lib/bb
Richard Purdie 84d5924012 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>
2016-03-26 07:34:58 +00:00
..
fetch2 bitbake: fetch2: Handle lockfiles for file:// urls redirected to mirrors 2016-03-26 07:34:58 +00:00
parse bitbake: BBHandler/ast: Merge handMethod and handleMethodFlags 2016-02-10 13:32:46 +00:00
pysh bitbake: lib: fix no newline at end of file 2014-07-04 09:28:36 +01:00
server bitbake: bitbake: xmlrpc: set single use mode differently 2016-03-24 12:31:50 +00:00
tests bitbake: bb/tests/fetch: Update cups url 2016-03-21 12:43:12 +00:00
ui bitbake: toasterui: remove ParseStarted from the event list 2016-03-23 17:56:16 +00:00
COW.py Apply some 2to3 refactorings 2010-07-02 15:41:37 +01:00
__init__.py bitbake: Move bb.{debug,note,..} into their own logging domain 2016-02-16 09:04:23 +00:00
build.py bitbake: build: Improve python execution tracebacks 2016-02-10 15:47:11 +00:00
cache.py bitbake: cache: Make BB_DONT_CACHE variable external 2016-03-23 17:54:41 +00:00
cache_extra.py bitbake: bitbake: cooker: get extra information from recipe cache 2013-09-22 12:19:44 +01:00
checksum.py bitbake: FileChecksumCache: add get_checksums() method 2016-02-18 07:41:16 +00:00
codeparser.py bitbake: bb/cache: drop some unused arguments 2016-02-18 07:41:15 +00:00
command.py bitbake: command: make setEventMask readonly 2016-03-07 17:23:04 +00:00
compat.py bitbake: compat/server/utils: Jettison pre python 2.7.3 workarounds 2013-06-14 17:26:30 +01:00
cooker.py bitbake: bb/cache: drop some unused arguments 2016-02-18 07:41:15 +00:00
cookerdata.py bitbake: main/runqueue: Add --setscene-only option to bitbake 2016-01-11 23:26:32 +00:00
daemonize.py bitbake: lib/bb/*.py: Typo fixes/grammar/comment fixes, nothing functional. 2014-08-25 08:57:45 +01:00
data.py bitbake: build/data: Don't expand python functions before execution [API change] 2016-02-10 15:47:11 +00:00
data_smart.py bitbake: data_smart: Drop default expand=False to getVarFlag [API change] 2016-02-18 07:48:00 +00:00
event.py bitbake: event/utils/methodpool: Add a cache of compiled code objects 2015-12-22 00:02:05 +00:00
exceptions.py bitbake/exceptions: Handle reports from the field of exception code failures 2012-05-25 11:15:12 +01:00
main.py bitbake: bitbake: xmlrpc: set single use mode differently 2016-03-24 12:31:50 +00:00
methodpool.py bitbake: event/utils/methodpool: Add a cache of compiled code objects 2015-12-22 00:02:05 +00:00
monitordisk.py bitbake: monitordisk: don't log when not monitoring a filesystem for inodes 2014-09-29 12:08:48 +01:00
msg.py bitbake: Fix default function parameter assignment to a list 2015-08-19 18:05:44 +01:00
namedtuple_with_abc.py bitbake: lib/bb/*.py: Typo fixes/grammar/comment fixes, nothing functional. 2014-08-25 08:57:45 +01:00
persist_data.py bitbake: persist_data: Avoid fsync() calls 2014-05-03 11:24:48 +01:00
process.py bitbake: Fix default function parameter assignment to a list 2015-08-19 18:05:44 +01:00
providers.py bitbake: providers: Fix PREFERRED_VERSION lookup for '_' in PN 2016-02-28 11:34:38 +00:00
runqueue.py bitbake: bb/runqueue: save task file dependency cache onto disk 2016-02-18 07:41:16 +00:00
shell.py Introduce new param caches_array into Cache impl. 2011-06-07 22:39:52 +01:00
siggen.py bitbake: SignatureGeneratorBasic: make checksum cache file configurable 2016-02-18 07:41:16 +00:00
taskdata.py bitbake: taskdata: Fix traceback issue with missing provider 2016-02-15 16:48:12 +00:00
tinfoil.py bitbake: tinfoil: remove logging handler at shutdown 2015-09-23 22:44:56 +01:00
utils.py bitbake: utils.py: Add sha1_file call 2016-02-26 17:20:05 +00:00