diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-07-28 15:24:41 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-08-01 11:29:35 +0100 |
commit | a403ddbbbab3f83e59214ddf9e67210cd07fa2cc (patch) | |
tree | 2cf515de887983b340e9f4c9fd99714a554a1624 | |
parent | e68370cbf13e728fc3bf942ec12b85d8a3f3d25b (diff) | |
download | poky-a403ddbbbab3f83e59214ddf9e67210cd07fa2cc.tar.gz |
bitbake: bitbake: toaster: Wait for toaster gui to come
Set logging level for the Toaster logger to get messages
to toaster_ui.log
Reverted previous workaround.
[YOCTO: #7965]
(Bitbake rev: f1d8e0ff7233f17cff3a56db10d2443b392b407d)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 376ac59323..f30f89e409 100644 --- a/bitbake/lib/bb/ui/toasterui.py +++ b/bitbake/lib/bb/ui/toasterui.py | |||
@@ -74,6 +74,7 @@ def main(server, eventHandler, params ): | |||
74 | bb.msg.addDefaultlogFilter(console) | 74 | bb.msg.addDefaultlogFilter(console) |
75 | console.setFormatter(format) | 75 | console.setFormatter(format) |
76 | logger.addHandler(console) | 76 | logger.addHandler(console) |
77 | logger.setLevel(logging.INFO) | ||
77 | 78 | ||
78 | includelogs, loglines, consolelogfile = _log_settings_from_server(server) | 79 | includelogs, loglines, consolelogfile = _log_settings_from_server(server) |
79 | 80 | ||
diff --git a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py index 1d3d1ce12c..3e16837be1 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("Bitbake server started on demand"): | 142 | if line.startswith("NOTE: ToasterUI waiting for events"): |
143 | return True | 143 | return True |
144 | return False | 144 | return False |
145 | 145 | ||