summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-12-02 10:02:48 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-07 17:37:09 +0000
commit58765a8719ac999284c15cd376453ac224f57609 (patch)
treee6f71b466ac7d3cff451a7d7e7ea4d42ebf7daa1 /bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
parent95a3cf75495b25832a81d3ffa006cf3b0c980b2d (diff)
downloadpoky-58765a8719ac999284c15cd376453ac224f57609.tar.gz
bitbake: toaster: remove stopBBServer API
Removed stopBBServer API from build controller as toaster doesn't stop bitbake server anymore. It's reused for both types of builds: triggered by UI and started manually. (Bitbake rev: 0cad802da171d51814f22cc9383f496a63cd0c75) 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/lib/toaster/bldcontrol/localhostbecontroller.py')
-rw-r--r--bitbake/lib/toaster/bldcontrol/localhostbecontroller.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
index 44a9136733..19afb1ada5 100644
--- a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
+++ b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
@@ -113,15 +113,6 @@ class LocalhostBEController(BuildEnvironmentController):
113 self.be.bbstate = BuildEnvironment.SERVER_STARTED 113 self.be.bbstate = BuildEnvironment.SERVER_STARTED
114 self.be.save() 114 self.be.save()
115 115
116 def stopBBServer(self):
117 assert self.pokydirname and os.path.exists(self.pokydirname)
118 assert self.islayerset
119 self._shellcmd("bash -c \"source %s/oe-init-build-env %s && %s source toaster stop\"" %
120 (self.pokydirname, self.be.builddir, (lambda: "" if self.be.bbtoken is None else "BBTOKEN=%s" % self.be.bbtoken)()))
121 self.be.bbstate = BuildEnvironment.SERVER_STOPPED
122 self.be.save()
123 logger.debug("localhostbecontroller: Stopped bitbake server")
124
125 def getGitCloneDirectory(self, url, branch): 116 def getGitCloneDirectory(self, url, branch):
126 """Construct unique clone directory name out of url and branch.""" 117 """Construct unique clone directory name out of url and branch."""
127 if branch != "HEAD": 118 if branch != "HEAD":