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 | f8600f7b5fce6eb6d4556bc2a4be1706cf12467f (patch) | |
tree | a284096513ca9d3efe19ccf05e6a23a394e18b53 /bitbake | |
parent | 9ce3af319cf39cb9263d192c6c8d79420880eed9 (diff) | |
download | tizen-distro-f8600f7b5fce6eb6d4556bc2a4be1706cf12467f.tar.gz tizen-distro-f8600f7b5fce6eb6d4556bc2a4be1706cf12467f.tar.bz2 tizen-distro-f8600f7b5fce6eb6d4556bc2a4be1706cf12467f.zip |
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: 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) |