summaryrefslogtreecommitdiffstats
path: root/lib/bb/cookerdata.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-08-24 17:05:13 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-08-24 17:48:36 +0100
commit783a03330802e83c525c55522e3ee2a933bded3a (patch)
tree4193530c9f7f5445065de3b91d1017c5f1fef1d0 /lib/bb/cookerdata.py
parentee5d2c92dcce89ccb701e028ffc6419eb315f5ce (diff)
downloadbitbake-783a03330802e83c525c55522e3ee2a933bded3a.tar.gz
main/server/process: Drop configuration object passing
The first thing the UIs do is update the server config from the UI. We can just rely upon that and start the server with a standard config, removing the need to pass the confusing configuration object around as well as configParams, which contains a similar copy of some of the data. This makes memory resident bitbake work the same way as the normal mode, removing the opportunity for some class of bugs. The xmlrpcinterface and server_timeout values are passed in at server startup time now and there no longer a second option in the configuration which is effective ignored once the server starts. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/cookerdata.py')
-rw-r--r--lib/bb/cookerdata.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/bb/cookerdata.py b/lib/bb/cookerdata.py
index 3baa9ade1..190ff3ab8 100644
--- a/lib/bb/cookerdata.py
+++ b/lib/bb/cookerdata.py
@@ -136,22 +136,13 @@ class CookerConfiguration(object):
self.build_verbose_stdout = False
self.dry_run = False
self.tracking = False
- self.xmlrpcinterface = []
- self.server_timeout = None
self.writeeventlog = False
- self.server_only = False
self.limited_deps = False
self.runall = []
self.runonly = []
self.env = {}
- def setConfigParameters(self, parameters):
- for key in self.__dict__.keys():
- if key in parameters.options.__dict__:
- setattr(self, key, parameters.options.__dict__[key])
- self.env = parameters.environment.copy()
-
def __getstate__(self):
state = {}
for key in self.__dict__.keys():