summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/toasterui.py
diff options
context:
space:
mode:
authorDave Lerner <dave.lerner@windriver.com>2014-06-25 15:40:29 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-14 14:10:02 +0100
commit6b62a0fd6eb9a609f71857f5793b0696f7a790b4 (patch)
tree8e0842a49d49506ffa28240498718880c39d30c8 /bitbake/lib/bb/ui/toasterui.py
parentc35b678053a3fea3a928bdb11a28d1e3cee329e2 (diff)
downloadpoky-6b62a0fd6eb9a609f71857f5793b0696f7a790b4.tar.gz
poky-6b62a0fd6eb9a609f71857f5793b0696f7a790b4.tar.bz2
poky-6b62a0fd6eb9a609f71857f5793b0696f7a790b4.zip
bitbake: toasterui: Show in the log that ToasterUi is ready to receive events.
Issue: TA53702 It was observed that a sequence in a script such as bitbake --server-only .. bitbake --observe-only .. bitbake <some target> could generate events from the server to the observer before the observer was ready to read the events, and the early events of builds were consistently dropped. Adding a "ready" note in the log allows the script to scan for that message before proceeding to building a target. (Bitbake rev: 9949948f92bbe2717a05a380d3df63a332d39c9a) Signed-off-by: Dave Lerner <dave.lerner@windriver.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/toasterui.py')
-rw-r--r--bitbake/lib/bb/ui/toasterui.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/toasterui.py b/bitbake/lib/bb/ui/toasterui.py
index b1c80cc822..5f87a9d963 100644
--- a/bitbake/lib/bb/ui/toasterui.py
+++ b/bitbake/lib/bb/ui/toasterui.py
@@ -91,6 +91,7 @@ def main(server, eventHandler, params ):
errors = 0
warnings = 0
taskfailures = []
+ first = True
buildinfohelper = BuildInfoHelper(server, build_history_enabled)
@@ -98,6 +99,9 @@ def main(server, eventHandler, params ):
while True:
try:
event = eventHandler.waitEvent(0.25)
+ if first:
+ first = False
+ logger.info("ToasterUI waiting for events")
if event is None:
if main.shutdown > 0: