diff options
author | Yu Ke <ke.yu@intel.com> | 2011-08-09 17:17:00 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-10 13:30:54 +0100 |
commit | b3e924297d670963714343d02f7898798fec84fd (patch) | |
tree | d544670a95bbbe93eefa8e500c43b0a24fcef4b1 | |
parent | 3ad3a53545b37ee8b26b22f4a0e00b19615b449a (diff) | |
download | bitbake-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__.py | 2 |
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) |