diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-08-24 17:05:13 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-08-25 18:14:53 +0100 |
commit | b9bbb5c7b7ea010a098e19c8da34fd5ea667a39f (patch) | |
tree | db4630996fbebd794815d0cb9e0144ba4297ff7f /bitbake/lib/bb/cooker.py | |
parent | a1c956ab4cae61ab3640d0455887645940e85ab6 (diff) | |
download | poky-b9bbb5c7b7ea010a098e19c8da34fd5ea667a39f.tar.gz |
bitbake: 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.
(Bitbake rev: 783a03330802e83c525c55522e3ee2a933bded3a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 3f9cb75434..99605e5844 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -148,7 +148,7 @@ class BBCooker: | |||
148 | Manages one bitbake build run | 148 | Manages one bitbake build run |
149 | """ | 149 | """ |
150 | 150 | ||
151 | def __init__(self, configuration, featureSet=None, idleCallBackRegister=None): | 151 | def __init__(self, featureSet=None, idleCallBackRegister=None): |
152 | self.recipecaches = None | 152 | self.recipecaches = None |
153 | self.eventlog = None | 153 | self.eventlog = None |
154 | self.skiplist = {} | 154 | self.skiplist = {} |
@@ -157,7 +157,7 @@ class BBCooker: | |||
157 | for f in featureSet: | 157 | for f in featureSet: |
158 | self.featureset.setFeature(f) | 158 | self.featureset.setFeature(f) |
159 | 159 | ||
160 | self.configuration = configuration | 160 | self.configuration = bb.cookerdata.CookerConfiguration() |
161 | 161 | ||
162 | self.idleCallBackRegister = idleCallBackRegister | 162 | self.idleCallBackRegister = idleCallBackRegister |
163 | 163 | ||