fetcher2 debug message fix for Yocto bug 1256
cover fetcher2 debug message fix for Yocto bug 1256
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(-)
PATCH 1/1 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]
--- lib/bb/fetch2/__init__.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
lib/bb/fetch2/__init__.py +1 -1
@@ -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)
Signature · 1 line
1.7.0.4
Richard Purdie
AppliedRe: [PATCH 1/1] fetcher2: show warning message when checksum is mismatch
Quoted 10 lines · Yu Ke
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 <[email protected]>
Merged to master, thanks.
Richard