From: Richard Purdie Date: Fri, 20 Aug 2010 10:26:14 +0000 (+0100) Subject: bitbake/cooker.py: Don't init the fetcher in the worker case X-Git-Tag: 2011-1~4820 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=ca09a6f08cc29f79f9742058d737deaef9d6d5ef;p=openembedded-core.git bitbake/cooker.py: Don't init the fetcher in the worker case Signed-off-by: Richard Purdie --- 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)