summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-12-02 10:02:49 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-07 17:37:09 +0000
commit990289511b7dc56580f2cecdda75fa14f436966d (patch)
tree023021d4e23b4d08cf93053bab948bb15be9b488 /bitbake
parent58765a8719ac999284c15cd376453ac224f57609 (diff)
downloadpoky-990289511b7dc56580f2cecdda75fa14f436966d.tar.gz
bitbake: toaster: do not terminate bb server
Toaster needs bb server to be running all the time due to merged analysis and managed modes. Server gets restarted before every build triggered by UI, but it shouldn't be terminated as it will influence command line builds. [YOCTO #8279] (Bitbake rev: e69c87c7842e796ffcd7193ecde22c8f688498f5) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: brian avery <avery.brian@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/ui/toasterui.py14
1 files changed, 5 insertions, 9 deletions
diff --git a/bitbake/lib/bb/ui/toasterui.py b/bitbake/lib/bb/ui/toasterui.py
index 3d261503ea..c5bf715ea5 100644
--- a/bitbake/lib/bb/ui/toasterui.py
+++ b/bitbake/lib/bb/ui/toasterui.py
@@ -320,15 +320,11 @@ def main(server, eventHandler, params):
320 logger.info("ToasterUI build done 1, brbe: %s", buildinfohelper.brbe ) 320 logger.info("ToasterUI build done 1, brbe: %s", buildinfohelper.brbe )
321 321
322 # we start a new build info 322 # we start a new build info
323 if buildinfohelper.brbe is not None: 323 logger.debug("ToasterUI prepared for new build")
324 logger.debug("ToasterUI under BuildEnvironment management - exiting after the build") 324 errors = 0
325 server.terminateServer() 325 warnings = 0
326 else: 326 taskfailures = []
327 logger.debug("ToasterUI prepared for new build") 327 buildinfohelper = BuildInfoHelper(server, build_history_enabled)
328 errors = 0
329 warnings = 0
330 taskfailures = []
331 buildinfohelper = BuildInfoHelper(server, build_history_enabled)
332 328
333 logger.info("ToasterUI build done 2") 329 logger.info("ToasterUI build done 2")
334 continue 330 continue