diff options
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r-- | bitbake/lib/bb/tinfoil.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/tinfoil.py b/bitbake/lib/bb/tinfoil.py index 8899e861c3..9fa5b5b3db 100644 --- a/bitbake/lib/bb/tinfoil.py +++ b/bitbake/lib/bb/tinfoil.py | |||
@@ -51,10 +51,13 @@ class Tinfoil: | |||
51 | features = [] | 51 | features = [] |
52 | if tracking: | 52 | if tracking: |
53 | features.append(CookerFeatures.BASEDATASTORE_TRACKING) | 53 | features.append(CookerFeatures.BASEDATASTORE_TRACKING) |
54 | cleanedvars = bb.utils.clean_environment() | ||
54 | self.cooker = BBCooker(self.config, features) | 55 | self.cooker = BBCooker(self.config, features) |
55 | self.config_data = self.cooker.data | 56 | self.config_data = self.cooker.data |
56 | bb.providers.logger.setLevel(logging.ERROR) | 57 | bb.providers.logger.setLevel(logging.ERROR) |
57 | self.cooker_data = None | 58 | self.cooker_data = None |
59 | for k in cleanedvars: | ||
60 | os.environ[k] = cleanedvars[k] | ||
58 | 61 | ||
59 | def register_idle_function(self, function, data): | 62 | def register_idle_function(self, function, data): |
60 | pass | 63 | pass |