From ca09a6f08cc29f79f9742058d737deaef9d6d5ef Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 20 Aug 2010 11:26:14 +0100 Subject: bitbake/cooker.py: Don't init the fetcher in the worker case Signed-off-by: Richard Purdie --- bitbake/lib/bb/cooker.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bitbake') 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) -- cgit v1.2.3