[bitbake-devel] [PATCH] cooker: Drop obsolete worker test
Richard Purdie
richard.purdie at linuxfoundation.org
Fri Sep 13 16:30:18 UTC 2013
This call only ever happens in cooker context now so we can drop the
nasty worker check from here.
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index f03f16b..daa00a4 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -141,11 +141,7 @@ class BBCooker:
self.parser = None
def initConfigurationData(self):
- worker = False
- if not self.configuration.server_register_idlecallback:
- worker = True
-
- self.databuilder = bb.cookerdata.CookerDataBuilder(self.configuration, worker)
+ self.databuilder = bb.cookerdata.CookerDataBuilder(self.configuration, False)
self.data = self.databuilder.data
def enableDataTracking(self):
More information about the bitbake-devel
mailing list