summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
diff options
context:
space:
mode:
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":