summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-06-21 15:43:02 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-25 14:57:16 +0100
commitbd3fd17fc57f4091308c3326c6ae29020e374da8 (patch)
tree5f1d41cd37536ff64b2de254c9d1f8d4145e5a26 /bitbake/lib/bb
parent9334b0d0027cf38921bd635ab24fb1c4e835f20c (diff)
downloadpoky-bd3fd17fc57f4091308c3326c6ae29020e374da8.tar.gz
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 <jason.wessel@windriver.com> (Bitbake rev: 1c531dff2fb055ecab2d462027eecec3fabc2a44) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r--bitbake/lib/bb/utils.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py
index 77ad39ee86..ee4ef73bfc 100644
--- a/bitbake/lib/bb/utils.py
+++ b/bitbake/lib/bb/utils.py
@@ -423,8 +423,6 @@ def preserved_envvars():
423 'BB_PRESERVE_ENV', 423 'BB_PRESERVE_ENV',
424 'BB_ENV_WHITELIST', 424 'BB_ENV_WHITELIST',
425 'BB_ENV_EXTRAWHITE', 425 'BB_ENV_EXTRAWHITE',
426 'LANG',
427 '_',
428 ] 426 ]
429 return v + preserved_envvars_exported() + preserved_envvars_exported_interactive() 427 return v + preserved_envvars_exported() + preserved_envvars_exported_interactive()
430 428