summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/shell.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-12 23:27:25 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-14 23:05:15 +0100
commitbfc21fd9b23ff62c1dc422b606b289f2457f29e5 (patch)
tree571ea7070ca70488f74d7485d6f07ef2e21455b8 /bitbake/lib/bb/shell.py
parent471310e5e75d35e572edd1a5638aa3999439e2f3 (diff)
downloadpoky-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/shell.py')
0 files changed, 0 insertions, 0 deletions