From: Ed Bartosh Date: Mon, 18 Jul 2016 16:07:17 +0000 (+0300) Subject: bitbake: bitbake: utils: add BBSERVER to the list of preserved variables X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b190c08b4866c5bfaca3bf8fc84c8ece486348d6;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git bitbake: 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. (Bitbake rev: 15c4ea679f4fe097a9f21cccfc82907b5f39a4e4) Signed-off-by: Ed Bartosh Signed-off-by: Richard Purdie --- diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py index aad26a0f1e6..995089a384f 100644 --- a/bitbake/lib/bb/utils.py +++ b/bitbake/lib/bb/utils.py @@ -575,6 +575,7 @@ def preserved_envvars_exported(): 'TERM', 'USER', 'LC_ALL', + 'BBSERVER', ] def preserved_envvars():