diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-12-02 10:02:55 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-07 17:37:10 +0000 |
commit | 361faa3e6ce6e0a1c91d450b7e1f5738faf4a0eb (patch) | |
tree | 2367748876b3a3f4b253be86f54c812174f8a036 /bitbake/lib/toaster/bldcontrol/localhostbecontroller.py | |
parent | fcbba5a89b2ebe3a6688b976f6e0600970d9cc4b (diff) | |
download | poky-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/localhostbecontroller.py')
-rw-r--r-- | bitbake/lib/toaster/bldcontrol/localhostbecontroller.py | 11 |
1 files changed, 0 insertions, 11 deletions
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 |