summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/toaster/bldcontrol/bbcontroller.py6
-rw-r--r--bitbake/lib/toaster/bldcontrol/localhostbecontroller.py11
2 files changed, 0 insertions, 17 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/bbcontroller.py b/bitbake/lib/toaster/bldcontrol/bbcontroller.py
index ba009313e7..8b99318433 100644
--- a/bitbake/lib/toaster/bldcontrol/bbcontroller.py
+++ b/bitbake/lib/toaster/bldcontrol/bbcontroller.py
@@ -130,12 +130,6 @@ class BuildEnvironmentController(object):
130 bblayerconffile.write("# line added by toaster build control\nBBLAYERS = \"" + " ".join(layerlist) + "\"") 130 bblayerconffile.write("# line added by toaster build control\nBBLAYERS = \"" + " ".join(layerlist) + "\"")
131 bblayerconffile.close() 131 bblayerconffile.close()
132 132
133
134 def writeConfFile(self, variable_list = None, raw = None):
135 """ Writes a configuration file in the build directory. Override with buildenv-specific implementation. """
136 raise Exception("FIXME: Must override to actually write a configuration file")
137
138
139 def startBBServer(self): 133 def startBBServer(self):
140 """ Starts a BB server with Toaster toasterui set up to record the builds, an no controlling UI. 134 """ Starts a BB server with Toaster toasterui set up to record the builds, an no controlling UI.
141 After this method executes, self.be bbaddress/bbport MUST point to a running and free server, 135 After this method executes, self.be bbaddress/bbport MUST point to a running and free server,
diff --git a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
index efba73e769..92d9ac54d6 100644
--- a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
+++ b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
@@ -70,17 +70,6 @@ class LocalhostBEController(BuildEnvironmentController):
70 logger.debug("localhostbecontroller: shellcmd success") 70 logger.debug("localhostbecontroller: shellcmd success")
71 return out 71 return out
72 72
73
74 def writeConfFile(self, file_name, variable_list = None, raw = None):
75 filepath = os.path.join(self.be.builddir, file_name)
76 with open(filepath, "w") as conffile:
77 if variable_list is not None:
78 for i in variable_list:
79 conffile.write("%s=\"%s\"\n" % (i.name, i.value))
80 if raw is not None:
81 conffile.write(raw)
82
83
84 def startBBServer(self): 73 def startBBServer(self):
85 assert self.pokydirname and os.path.exists(self.pokydirname) 74 assert self.pokydirname and os.path.exists(self.pokydirname)
86 assert self.islayerset 75 assert self.islayerset