summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/bldcontrol/bbcontroller.py
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2016-04-06 17:46:18 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-04-06 23:10:27 +0100
commit7068e8a056d7b7d091294343f034dee4662403c0 (patch)
tree3c6d1eeafbd613bc46141901334507c5883daa1d /bitbake/lib/toaster/bldcontrol/bbcontroller.py
parent9d4c62d33ee59644591596c082cdb9240eb9aa44 (diff)
downloadpoky-7068e8a056d7b7d091294343f034dee4662403c0.tar.gz
bitbake: toaster: remove startBBServer API
We still will have to run bitbake server, but it will be done different way and the code will be in triggerBuild function. Removed startBBServer API from BuildEnvironmentController and LocalhostBEController classes. (Bitbake rev: a8f986d73a84f28fa8b116b91fb30c5d2cd4edbe) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/bldcontrol/bbcontroller.py')
-rw-r--r--bitbake/lib/toaster/bldcontrol/bbcontroller.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/bbcontroller.py b/bitbake/lib/toaster/bldcontrol/bbcontroller.py
index f40103cb45..535a3986ad 100644
--- a/bitbake/lib/toaster/bldcontrol/bbcontroller.py
+++ b/bitbake/lib/toaster/bldcontrol/bbcontroller.py
@@ -127,14 +127,6 @@ class BuildEnvironmentController(object):
127 bblayerconffile.write("# line added by toaster build control\nBBLAYERS = \"" + " ".join(layerlist) + "\"") 127 bblayerconffile.write("# line added by toaster build control\nBBLAYERS = \"" + " ".join(layerlist) + "\"")
128 bblayerconffile.close() 128 bblayerconffile.close()
129 129
130 def startBBServer(self):
131 """ Starts a BB server with Toaster toasterui set up to record the builds, an no controlling UI.
132 After this method executes, self.be bbaddress/bbport MUST point to a running and free server,
133 and the bbstate MUST be updated to "started".
134 """
135 raise NotImplementedError("FIXME: Must override in order to actually start the BB server")
136
137
138 def setLayers(self, bitbake, ls): 130 def setLayers(self, bitbake, ls):
139 """ Checks-out bitbake executor and layers from git repositories. 131 """ Checks-out bitbake executor and layers from git repositories.
140 Sets the layer variables in the config file, after validating local layer paths. 132 Sets the layer variables in the config file, after validating local layer paths.
@@ -151,7 +143,6 @@ class BuildEnvironmentController(object):
151 starts if needed; or reconnects to the server if we can 143 starts if needed; or reconnects to the server if we can
152 """ 144 """
153 if not self.connection: 145 if not self.connection:
154 self.startBBServer()
155 self.be.lock = BuildEnvironment.LOCK_RUNNING 146 self.be.lock = BuildEnvironment.LOCK_RUNNING
156 self.be.save() 147 self.be.save()
157 148