summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorYu Ke <ke.yu@intel.com>2011-08-09 17:17:00 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-10 13:33:12 +0100
commit6bb2a22b3606f2cf1e5a4c95414d82864fda2f31 (patch)
treee971fa3bbb7e44a8f8b4ca7759468c89080e854d /bitbake
parenta43fcd15e981d318203f22ef5967fce249d5b574 (diff)
downloadpoky-6bb2a22b3606f2cf1e5a4c95414d82864fda2f31.tar.gz
fetcher2: show warning message when checksum is mismatch
Currently, if checksum mismatch, fetcher will try mirror, and if mirror fetching fail, it will show error "Unable to fetch URL xxx from from any source" which actually hide the real reason and make user confuse. so showing warning message will make it more clear. Fix [YOCTO #1256] (Bitbake rev: b3e924297d670963714343d02f7898798fec84fd) Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
index d39f094551..f6fa46c610 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -956,7 +956,7 @@ class Fetch(object):
956 raise 956 raise
957 957
958 except BBFetchException as e: 958 except BBFetchException as e:
959 logger.debug(1, str(e)) 959 logger.warn(str(e))
960 # Remove any incomplete fetch 960 # Remove any incomplete fetch
961 if os.path.isfile(ud.localpath): 961 if os.path.isfile(ud.localpath):
962 bb.utils.remove(ud.localpath) 962 bb.utils.remove(ud.localpath)