generic-poky/bitbake/lib/bb/fetch2
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
..
__init__.py bitbake: fetch2/__init__.py: let try_mirror_url return correct value 2014-05-06 16:16:33 +01:00
bzr.py bitbake: fetch2/git: Clean up sortable_revision 2013-05-22 12:10:12 +01:00
cvs.py bitbake: fetch2/cvs: Fix parameter spacing 2012-09-20 11:37:17 +01:00
git.py bitbake: bitbake: fetch2/git: Anchor names when using ls-remote 2014-04-19 11:04:48 +01:00
gitsm.py bitbake: bitbake/fetch: Add git submodules fetcher 2013-03-25 15:58:31 +00:00
hg.py bitbake: fetch/hg: Improve user/password handling 2013-12-03 17:51:31 +00:00
local.py bitbake: fetch2/local: Fix bug introduced by expression ambiguity 2012-11-26 20:57:30 +00:00
osc.py bitbake: fetch2/osc.py: Use "protocol" parameter to get the protocol 2012-07-11 15:55:25 +01:00
perforce.py bitbake: perforce: Fix path subdirectory issues 2013-12-03 17:51:31 +00:00
repo.py fetch, fetch2: Get rid of DeprecationWarning notice 2011-03-03 22:51:33 +00:00
sftp.py bitbake: fetch2: Add SFTP fetcher 2013-02-17 22:32:05 +00:00
ssh.py bitbake: ssh.py: add example SRC_URI 2013-01-31 12:46:21 +00:00
svk.py replace os.popen with subprocess.Popen 2012-05-23 11:35:11 +01:00
svn.py bitbake: fetch2/svn.py: use log instead of info to retrieve revision 2013-12-03 17:51:31 +00:00
wget.py bitbake: wget: Improve mkdir handling 2013-02-19 14:00:32 -08:00