diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-05 16:02:03 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-06 13:13:01 +0000 |
| commit | 6fecb1a3e02a91b4945f1d3e5faf72e9c129e833 (patch) | |
| tree | 75552a348fa5a3bdc7425a0095560e7cdc9e782c /bitbake/lib/bb/cooker.py | |
| parent | 1f192a7ade00b3e1dac8af603e9b48d254100fb6 (diff) | |
| download | poky-6fecb1a3e02a91b4945f1d3e5faf72e9c129e833.tar.gz | |
bitbake: cooker/utils: Drop custom 'interactive' variables list and store environment in BB_ORIGENV instead
Maintining hardcoded lists of user environmental variables is hacky,
replace these with the savedenv datastore. Allow access to that
through the BB_ORIGENV variable.
(Bitbake rev: 0a99563a4ea270594fd9a61da46f9387fb79dc66)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
| -rw-r--r-- | bitbake/lib/bb/cooker.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 34fbfb0701..f70a04f460 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
| @@ -185,6 +185,7 @@ class BBCooker: | |||
| 185 | 185 | ||
| 186 | filtered_keys = bb.utils.approved_variables() | 186 | filtered_keys = bb.utils.approved_variables() |
| 187 | bb.data.inheritFromOS(self.configuration.data, self.savedenv, filtered_keys) | 187 | bb.data.inheritFromOS(self.configuration.data, self.savedenv, filtered_keys) |
| 188 | self.configuration.data.setVar("BB_ORIGENV", self.savedenv) | ||
| 188 | 189 | ||
| 189 | def enableDataTracking(self): | 190 | def enableDataTracking(self): |
| 190 | self.configuration.data.enableTracking() | 191 | self.configuration.data.enableTracking() |
