* [PATCH 0/1] fetcher2 debug message fix for Yocto bug 1256
@ 2011-08-09 9:16 Yu Ke
2011-08-09 9:17 ` [PATCH 1/1] fetcher2: show warning message when checksum is mismatch Yu Ke
0 siblings, 1 reply; 3+ messages in thread
From: Yu Ke @ 2011-08-09 9:16 UTC (permalink / raw)
To: bitbake-devel, richard.purdie
The following changes since commit 5cacdc4f1641eda1b5707c96f7c40924a9db6174:
Joshua Lock (1):
bb/cooker: mark parsed conf files as potential cache invalidators
are available in the git repository at:
git://git.pokylinux.org/poky-contrib kyu3/bug-1256
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kyu3/bug-1256
Yu Ke (1):
fetcher2: show warning message when checksum is mismatch
lib/bb/fetch2/__init__.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
^ permalink raw reply [flat|nested] 3+ messages in thread* [PATCH 1/1] fetcher2: show warning message when checksum is mismatch
2011-08-09 9:16 [PATCH 0/1] fetcher2 debug message fix for Yocto bug 1256 Yu Ke
@ 2011-08-09 9:17 ` Yu Ke
2011-08-10 12:31 ` Richard Purdie
0 siblings, 1 reply; 3+ messages in thread
From: Yu Ke @ 2011-08-09 9:17 UTC (permalink / raw)
To: bitbake-devel, richard.purdie
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>
---
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 9cfa3de..b691cbc 100644
--- a/lib/bb/fetch2/__init__.py
+++ b/lib/bb/fetch2/__init__.py
@@ -937,7 +937,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)
--
1.7.0.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-08-10 12:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-09 9:16 [PATCH 0/1] fetcher2 debug message fix for Yocto bug 1256 Yu Ke
2011-08-09 9:17 ` [PATCH 1/1] fetcher2: show warning message when checksum is mismatch Yu Ke
2011-08-10 12:31 ` Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox