generic-poky/scripts/lib
Paul Eggleton c1f4e929c9 recipetool: create: better fix for fetch error handling
I was a little bit hasty in OE-Core revision
c2cc5abe34169eae92067d97ce1e747e7c1413f5 - it turns out BitBake's
fetcher code is not consistent in whether it logs something useful or
not; when fetching from an http URL it does but with a git repository
it doesn't. In advance of any major reworking of fetch error handling in
BitBake, let's just print the text of the exception and then we know we
have shown something to the user.

Additionally, we were only catching FetchException here but there are
several other classes of exception that the fetcher can raise (e.g.
MalformedUrl); catch the parent BBFetchException class instead so we
avoid tracebacks for those other classes as well.

(From OE-Core rev: 578d3873a6415c9203c185c21cff472f7d2dab02)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-24 09:40:33 +00:00
..
bsp yocto-bsp: remove 3.14 and 3.19 bbappends 2016-01-07 13:52:21 +00:00
devtool devtool / recipetool: support specifying a subdirectory within the fetched source 2016-01-24 09:40:33 +00:00
recipetool recipetool: create: better fix for fetch error handling 2016-01-24 09:40:33 +00:00
wic wic: pylinted ksparser module 2016-01-20 17:07:14 +00:00
argparse_oe.py devtool: add: allow specifying URL as positional argument 2015-12-28 09:25:14 +00:00
scriptpath.py scripts: consolidate code to find bitbake path 2014-06-25 13:51:45 +01:00
scriptutils.py recipetool: create: prevent attempting to unpack entire DL_DIR 2015-12-28 09:25:13 +00:00