[bitbake-devel] [RFC PATCH 1/1] Ensure only the filtered environment variables are inherited from the OS

Richard Purdie richard.purdie at linuxfoundation.org
Mon Aug 15 08:41:48 UTC 2011


On Fri, 2011-08-12 at 17:58 -0700, Joshua Lock wrote:
> The recent change which modified inheritFromOS to use the intial
> environment, rather than the current environment, introduced a bug such
> that variables which had been cleaned from the environment where still set
> in the data store.
> 
> This patch changes things such that a list of approved environment
> variables is saved after the environment is cleaned and only the variables
> in this list are inherited in inheritFromOS.
> 
> CC: James Limbouris <james.limbouris at gmail.com>
> CC: Chris Larson <clarson at kergoth.com>
> Signed-off-by: Joshua Lock <josh at linux.intel.com>
> ---
>  bin/bitbake-layers |    6 +++---
>  lib/bb/cooker.py   |    3 ++-
>  lib/bb/data.py     |   15 ++++++++-------
>  lib/bb/utils.py    |   23 ++++++++++++++++-------
>  4 files changed, 29 insertions(+), 18 deletions(-)

Merged to master, thanks.

Richard







More information about the bitbake-devel mailing list