diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-20 11:26:14 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-20 11:26:14 +0100 |
commit | ca09a6f08cc29f79f9742058d737deaef9d6d5ef (patch) | |
tree | a284096513ca9d3efe19ccf05e6a23a394e18b53 | |
parent | fac06aaf2a2b79adc2fbfc7fbd5e6526ff2b515c (diff) | |
download | openembedded-core-ca09a6f08cc29f79f9742058d737deaef9d6d5ef.tar.gz openembedded-core-ca09a6f08cc29f79f9742058d737deaef9d6d5ef.tar.bz2 openembedded-core-ca09a6f08cc29f79f9742058d737deaef9d6d5ef.zip |
bitbake/cooker.py: Don't init the fetcher in the worker case
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-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 3a25956625..dcdcb7d443 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py @@ -544,7 +544,8 @@ class BBCooker: for var in bb.data.getVar('__BBHANDLERS', self.configuration.data) or []: bb.event.register(var, bb.data.getVar(var, self.configuration.data)) - bb.fetch.fetcher_init(self.configuration.data) + if bb.data.getVar("BB_WORKERCONTEXT", self.configuration.data) is None: + bb.fetch.fetcher_init(self.configuration.data) bb.event.fire(bb.event.ConfigParsed(), self.configuration.data) |