summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2011-02-07 10:58:40 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-10 22:34:24 +0000
commitafdbb026937d4e2ca3e2b824a035fba8f80264c8 (patch)
treefcb010c13e182d57e4b524416f8a5d0280386405
parent882ac1afea1d6317022db8eae466a19f49f714c1 (diff)
downloadopenembedded-core-afdbb026937d4e2ca3e2b824a035fba8f80264c8.tar.gz
openembedded-core-afdbb026937d4e2ca3e2b824a035fba8f80264c8.tar.bz2
openembedded-core-afdbb026937d4e2ca3e2b824a035fba8f80264c8.zip
bitbake-layers: fix bug with env vars leaking in
I forgot that bin/bitbake is what does the environment filtering based upon BB_ENV_WHITELIST, etc. (Bitbake rev: 2cc6b6951bd17832866ec710029d119d2df31ba4) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/bin/bitbake-layers1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/bin/bitbake-layers b/bitbake/bin/bitbake-layers
index 08a846be81..ed11e5a386 100644
--- a/bitbake/bin/bitbake-layers
+++ b/bitbake/bin/bitbake-layers
@@ -21,6 +21,7 @@ default_cmd = 'show_appends'
def main(args):
logging.basicConfig(format='%(levelname)s: %(message)s')
+ bb.utils.clean_environment()
cmds = Commands()
if args: