summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/bldcontrol
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-12-02 10:02:55 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-07 17:37:10 +0000
commit361faa3e6ce6e0a1c91d450b7e1f5738faf4a0eb (patch)
tree2367748876b3a3f4b253be86f54c812174f8a036 /bitbake/lib/toaster/bldcontrol
parentfcbba5a89b2ebe3a6688b976f6e0600970d9cc4b (diff)
downloadpoky-361faa3e6ce6e0a1c91d450b7e1f5738faf4a0eb.tar.gz
bitbake: toaster: remove writeConfFile API
This API is not used anymore as toaster doesn't write variables to configuration files anymore. It sets variables through its connection to bitbake server. (Bitbake rev: 6dda2916b75d688874d208192d5c7cdb302eec35) 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')
-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