summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/ui/toasterui.py1
-rw-r--r--bitbake/lib/toaster/bldcontrol/localhostbecontroller.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/toasterui.py b/bitbake/lib/bb/ui/toasterui.py
index 28fdd8200e..376ac59323 100644
--- a/bitbake/lib/bb/ui/toasterui.py
+++ b/bitbake/lib/bb/ui/toasterui.py
@@ -239,6 +239,7 @@ def main(server, eventHandler, params ):
239 239
240 if isinstance(event, (bb.event.BuildCompleted, bb.command.CommandFailed)): 240 if isinstance(event, (bb.event.BuildCompleted, bb.command.CommandFailed)):
241 241
242 errorcode = 0
242 if (isinstance(event, bb.command.CommandFailed)): 243 if (isinstance(event, bb.command.CommandFailed)):
243 errors += 1 244 errors += 1
244 errorcode = 1 245 errorcode = 1
diff --git a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
index 3e16837be1..1d3d1ce12c 100644
--- a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
+++ b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
@@ -139,7 +139,7 @@ class LocalhostBEController(BuildEnvironmentController):
139 with open(filepath, "r") as f: 139 with open(filepath, "r") as f:
140 f.seek(filepos) 140 f.seek(filepos)
141 for line in f: 141 for line in f:
142 if line.startswith("NOTE: ToasterUI waiting for events"): 142 if line.startswith("Bitbake server started on demand"):
143 return True 143 return True
144 return False 144 return False
145 145