generic-poky/bitbake/lib
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
..
bb bitbake: fetch2/__init__.py: let try_mirror_url return correct value 2014-05-06 16:16:33 +01:00
ply Add pysh, ply, and codegen to lib/ to prepare for future work 2010-08-03 14:06:07 +01:00
prserv bitbake: prserv: Ensure data is committed 2013-09-08 10:51:56 +01:00
codegen.py Add pysh, ply, and codegen to lib/ to prepare for future work 2010-08-03 14:06:07 +01:00
progressbar.py Experimental usage of the 'progressbar' module 2011-01-04 14:46:42 +00:00