diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2015-07-13 16:05:12 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-16 15:09:26 +0100 |
commit | d3809b77c418804a524b618b51c2af7661e22e93 (patch) | |
tree | 01423113e8a06d4d7e058bbf6dbd91297945a690 /meta-yocto/conf/distro | |
parent | 5261c5b5bde25a5e4b2e9268ee401071a187468b (diff) | |
download | poky-d3809b77c418804a524b618b51c2af7661e22e93.tar.gz |
bitbake: lib/bb: provide mechanism to bypass UI log suppression
The recent change to connect through the shell logging functions had an
unexpected side-effect - bb.error() and bb.fatal() cause a flag to be
set internally such that BitBake's UI will not print the full task log
on failure; unfortunately we have in places within the OpenEmbedded
metadata called these shell logging functions under error situations
where we still want to see the full log (i.e., the message we're sending
doesn't include the full error). Thus, provide a mechanism to fatally
exit with an error but unset the flag, utilising the built-in python
logging functionality that allows extra values to be passed in the log
record.
(Bitbake rev: e561b997c55e8537d82aa1339adfff4505cc38b7)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-yocto/conf/distro')
0 files changed, 0 insertions, 0 deletions