diff options
-rw-r--r-- | bitbake/lib/bb/ui/toasterui.py | 1 | ||||
-rw-r--r-- | bitbake/lib/toaster/bldcontrol/localhostbecontroller.py | 2 |
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 ): if isinstance(event, (bb.event.BuildCompleted, bb.command.CommandFailed)): + errorcode = 0 if (isinstance(event, bb.command.CommandFailed)): errors += 1 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): with open(filepath, "r") as f: f.seek(filepos) for line in f: - if line.startswith("NOTE: ToasterUI waiting for events"): + if line.startswith("Bitbake server started on demand"): return True return False |