From: Paul Eggleton Date: Thu, 21 Jun 2012 14:43:02 +0000 (+0100) Subject: bitbake: lib/bb/utils.py: remove unnecessary preserved variables X-Git-Tag: rev_ivi_2015_02_04~16766 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7ad0f518b7d7daa0a12b2d5e963afc73655c114a;p=scm%2Fbb%2Ftizen-distro.git bitbake: lib/bb/utils.py: remove unnecessary preserved variables _ and LANG no longer need to be preserved from the external environment. The value of _ changes between non-pseudo-wrapped and pseudo-wrapped invocations (e.g. between "bitbake -p" and "bitbake target") and this will currently trigger a full reparse in the absence of a whitelist entry in BB_HASHCONFIG_WHITELIST, which is not ideal. LANG used to be preserved in order to ensure the C locale was being used for tools invoked by bitbake, however we now set LC_ALL in bitbake.conf to take care of this. Second part of the fix for [YOCTO #2600]. Acked-by: Jason Wessel (Bitbake rev: 1c531dff2fb055ecab2d462027eecec3fabc2a44) Signed-off-by: Paul Eggleton Signed-off-by: Richard Purdie --- diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py index 77ad39e..ee4ef73 100644 --- a/bitbake/lib/bb/utils.py +++ b/bitbake/lib/bb/utils.py @@ -423,8 +423,6 @@ def preserved_envvars(): 'BB_PRESERVE_ENV', 'BB_ENV_WHITELIST', 'BB_ENV_EXTRAWHITE', - 'LANG', - '_', ] return v + preserved_envvars_exported() + preserved_envvars_exported_interactive()