summaryrefslogtreecommitdiffstats
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:30:54 +0100
commitb3e924297d670963714343d02f7898798fec84fd (patch)
treed544670a95bbbe93eefa8e500c43b0a24fcef4b1
parent3ad3a53545b37ee8b26b22f4a0e00b19615b449a (diff)
downloadbitbake-b3e924297d670963714343d02f7898798fec84fd.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] Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/bb/fetch2/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/fetch2/__init__.py b/lib/bb/fetch2/__init__.py
index d39f09455..f6fa46c61 100644
--- a/lib/bb/fetch2/__init__.py
+++ b/lib/bb/fetch2/__init__.py
@@ -956,7 +956,7 @@ class Fetch(object):
raise
except BBFetchException as e:
- logger.debug(1, str(e))
+ logger.warn(str(e))
# Remove any incomplete fetch
if os.path.isfile(ud.localpath):
bb.utils.remove(ud.localpath)