diff options
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index cd9cccdfce..2ae3e9d239 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -129,6 +129,7 @@ class BBCooker: | |||
129 | sys.exit("FATAL: Failed to import extra cache class '%s'." % cache_name) | 129 | sys.exit("FATAL: Failed to import extra cache class '%s'." % cache_name) |
130 | 130 | ||
131 | self.configuration.data = None | 131 | self.configuration.data = None |
132 | self.initConfigurationData() | ||
132 | self.loadConfigurationData() | 133 | self.loadConfigurationData() |
133 | 134 | ||
134 | # Take a lock so only one copy of bitbake can run against a given build | 135 | # Take a lock so only one copy of bitbake can run against a given build |
@@ -175,7 +176,6 @@ class BBCooker: | |||
175 | self.configuration.data.disableTracking() | 176 | self.configuration.data.disableTracking() |
176 | 177 | ||
177 | def loadConfigurationData(self): | 178 | def loadConfigurationData(self): |
178 | self.initConfigurationData() | ||
179 | self.databuilder.parseBaseConfiguration() | 179 | self.databuilder.parseBaseConfiguration() |
180 | self.configuration.data = self.databuilder.data | 180 | self.configuration.data = self.databuilder.data |
181 | self.configuration.data_hash = self.databuilder.data_hash | 181 | self.configuration.data_hash = self.databuilder.data_hash |
@@ -1221,6 +1221,7 @@ class BBCooker: | |||
1221 | 1221 | ||
1222 | def reset(self): | 1222 | def reset(self): |
1223 | self.state = state.initial | 1223 | self.state = state.initial |
1224 | self.initConfigurationData() | ||
1224 | self.loadConfigurationData() | 1225 | self.loadConfigurationData() |
1225 | 1226 | ||
1226 | def server_main(cooker, func, *args): | 1227 | def server_main(cooker, func, *args): |