generic-poky/bitbake/lib/bb
Robert Yang 6a92f7ede3 bitbake: fetch2/__init__.py: let try_mirror_url return correct value
The fetcher will try:

1) PREMIRROR
2) Upstream
3) MIRROR

If it fails to download from the Upstream, but succeeds from the MIRROR,
and ud.localpath != origud.localpath (for example, the git tarball),
then we will get the error (e.g.: xf86-video-omapfb):

ERROR: Function failed: Fetcher failure for URL: 'xxx'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /path/to/log.do_fetch.28024

It should not show the error and let the build go on since it succeeds.
(e.g.: xf86-video-omapfb)

[YOCTO #5686]

(Bitbake rev: 3bb3f1823bdd46ab34577d43f1e39046a32bca77)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-06 16:16:33 +01:00
..
fetch2 bitbake: fetch2/__init__.py: let try_mirror_url return correct value 2014-05-06 16:16:33 +01:00
parse bitbake: parse/ConfHander/BBHandler/utils: Fix cache dependency bugs 2014-01-02 13:08:47 +00:00
pysh bitbake: pysh: Say what kind of token isn't implemented 2013-05-10 13:35:10 +01:00
server bitbake: xmlrpc: Show a better error message for connection failures 2013-10-07 09:37:34 +01:00
tests bitbake: fetch2: Don't allow '/' in user:pass, fix branch containing '@' 2014-02-17 14:44:30 +00:00
ui bitbake: hob/hoblistmodel: check if vals of packages/recipes names are not None 2014-01-08 17:41:17 +00:00
COW.py Apply some 2to3 refactorings 2010-07-02 15:41:37 +01:00
__init__.py bitbake: bitbake: Update to version 1.20.0 2013-09-24 18:04:16 +01:00
build.py bitbake: bitbake: build.py: add single-quotes around already-expanded directory name 2013-12-11 14:16:04 +00:00
cache.py bitbake: data_smart: Fix variable reference issues 2013-09-18 13:27:30 +01:00
cache_extra.py bitbake: bitbake: cooker: get extra information from recipe cache 2013-09-22 12:19:44 +01:00
checksum.py bitbake: implement checksums for local files in SRC_URI 2012-05-23 11:35:04 +01:00
codeparser.py bitbake: codeparser: Track bb.utils.contains usage 2013-02-15 12:12:35 +00:00
command.py bitbake: bitbake: cooker/command: Add error state for the server and use for pre_serve errors 2013-12-11 14:16:03 +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: bitbake: cooker/command: Add error state for the server and use for pre_serve errors 2013-12-11 14:16:03 +00:00
cookerdata.py bitbake: bitbake: cooker,xmlrpc,servers: implement CookerFeatures 2013-09-22 12:19:43 +01:00
daemonize.py Apply some 2to3 transforms that don't cause issues in 2.6 2010-07-02 15:41:33 +01:00
data.py bitbake: data: Fix output inconsistencies for emit_var 2014-01-02 13:08:47 +00:00
data_smart.py bitbake: bitbake/hob: removing extra parameters from conf files using hob 2013-10-07 09:37:34 +01:00
event.py bitbake: bitbake: event: adding generic event for metadata usage 2013-09-22 12:19:44 +01:00
exceptions.py bitbake/exceptions: Handle reports from the field of exception code failures 2012-05-25 11:15:12 +01:00
methodpool.py bitbake: methodpool: Retire it, remove global method scope 2013-05-24 10:34:52 +01:00
monitordisk.py bitbake: bitbake: monitordisk: lower inode check warning to note 2013-12-11 14:16:03 +00:00
msg.py bitbake: event/msg: Add primitive server side UI log record filtering 2013-08-23 17:29:54 +01:00
namedtuple_with_abc.py bb.namedtuple_with_abc: add useful util from activestate 2011-06-08 20:38:23 +01:00
persist_data.py bitbake: persist_data: add get_by_pattern method to API 2013-01-22 15:35:06 +00:00
process.py bitbake: lib: Use modern expcetion syntax 2013-05-09 22:28:24 +01:00
providers.py bitbake: providers.py: enhance the runtime debug degbug messgae 2013-09-09 16:28:46 +01:00
runqueue.py bitbake: runqueue/bitbake-worker: Fix dry run fakeroot issues 2014-01-02 13:08:47 +00:00
shell.py Introduce new param caches_array into Cache impl. 2011-06-07 22:39:52 +01:00
siggen.py bitbake: siggen: Use lookup cache exclusively 2013-09-17 14:11:03 +01:00
taskdata.py bitbake: taskdata: report close matches with NoProvider errors 2013-08-16 11:21:02 +01:00
tinfoil.py bitbake: tinfoil: fix for move of data attribute to cooker 2013-06-10 10:32:58 +01:00
utils.py bitbake: parse/ConfHander/BBHandler/utils: Fix cache dependency bugs 2014-01-02 13:08:47 +00:00