From 6bb2a22b3606f2cf1e5a4c95414d82864fda2f31 Mon Sep 17 00:00:00 2001 From: Yu Ke Date: Tue, 9 Aug 2011 17:17:00 +0800 Subject: 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 Signed-off-by: Richard Purdie --- bitbake/lib/bb/fetch2/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib') 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): 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) -- cgit v1.2.3-54-g00ecf