diff options
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 490828d2a6..f7d9923f19 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -1104,8 +1104,8 @@ class BBCooker: | |||
1104 | 1104 | ||
1105 | self.server_registration_cb(buildTargetsIdle, rq) | 1105 | self.server_registration_cb(buildTargetsIdle, rq) |
1106 | 1106 | ||
1107 | def updateCache(self, force=False): | 1107 | def updateCache(self): |
1108 | if self.state == state.running and not force: | 1108 | if self.state == state.running: |
1109 | return | 1109 | return |
1110 | 1110 | ||
1111 | if self.state in (state.shutdown, state.stop): | 1111 | if self.state in (state.shutdown, state.stop): |
@@ -1290,8 +1290,11 @@ class BBCooker: | |||
1290 | self.state = state.stop | 1290 | self.state = state.stop |
1291 | 1291 | ||
1292 | def reparseFiles(self): | 1292 | def reparseFiles(self): |
1293 | return | ||
1294 | |||
1295 | def reset(self): | ||
1296 | self.state = state.initial | ||
1293 | self.loadConfigurationData() | 1297 | self.loadConfigurationData() |
1294 | self.updateCache(force=True) | ||
1295 | 1298 | ||
1296 | def server_main(cooker, func, *args): | 1299 | def server_main(cooker, func, *args): |
1297 | cooker.pre_serve() | 1300 | cooker.pre_serve() |