From: Ed Bartosh Date: Mon, 18 Jul 2016 16:07:17 +0000 (+0300) Subject: bitbake: utils: add BBSERVER to the list of preserved variables X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=15c4ea679f4fe097a9f21cccfc82907b5f39a4e4;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git bitbake: utils: add BBSERVER to the list of preserved variables All environment variables that are not in the list returned by preserved_envvars_exported are cleaned by bb.utils.clean_environment. Added BBSERVER to the list as we need to access it in bb/main.py after the call of bb.utils.clean_environment. Signed-off-by: Ed Bartosh Signed-off-by: Richard Purdie --- diff --git a/lib/bb/utils.py b/lib/bb/utils.py index aad26a0f1e6..995089a384f 100644 --- a/lib/bb/utils.py +++ b/lib/bb/utils.py @@ -575,6 +575,7 @@ def preserved_envvars_exported(): 'TERM', 'USER', 'LC_ALL', + 'BBSERVER', ] def preserved_envvars():