diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-12 23:27:25 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-14 23:05:15 +0100 |
commit | bfc21fd9b23ff62c1dc422b606b289f2457f29e5 (patch) | |
tree | 571ea7070ca70488f74d7485d6f07ef2e21455b8 /bitbake/lib/bb/msg.py | |
parent | 471310e5e75d35e572edd1a5638aa3999439e2f3 (diff) | |
download | poky-bfc21fd9b23ff62c1dc422b606b289f2457f29e5.tar.gz |
bitbake: server/process: Fix missing log messages issue
Currently if the server dies, its possible that log messages are never
displayed which is particularly problematic if one of those messages
is the exception and backtrace the server died with.
Rather than having the event queue exit as soon as the server disappears,
we should pop events from the queue until its empty before exiting.
This patch tweaks that code so that even if the server is dead and we're
going to exit, we return any events left in the pipe. This makes
debugging certain failures much easier.
(Bitbake rev: 29f6ade68fb2b506a23a7eb3a00cdcffa291b362)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/msg.py')
0 files changed, 0 insertions, 0 deletions