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 /bitbake | |
parent | fac06aaf2a2b79adc2fbfc7fbd5e6526ff2b515c (diff) | |
download | poky-ca09a6f08cc29f79f9742058d737deaef9d6d5ef.tar.gz |
bitbake/cooker.py: Don't init the fetcher in the worker case
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake')
-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: | |||
544 | for var in bb.data.getVar('__BBHANDLERS', self.configuration.data) or []: | 544 | for var in bb.data.getVar('__BBHANDLERS', self.configuration.data) or []: |
545 | bb.event.register(var, bb.data.getVar(var, self.configuration.data)) | 545 | bb.event.register(var, bb.data.getVar(var, self.configuration.data)) |
546 | 546 | ||
547 | bb.fetch.fetcher_init(self.configuration.data) | 547 | if bb.data.getVar("BB_WORKERCONTEXT", self.configuration.data) is None: |
548 | bb.fetch.fetcher_init(self.configuration.data) | ||
548 | 549 | ||
549 | bb.event.fire(bb.event.ConfigParsed(), self.configuration.data) | 550 | bb.event.fire(bb.event.ConfigParsed(), self.configuration.data) |
550 | 551 | ||