]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
bitbake: bitbake: utils: add BBSERVER to the list of preserved variables
authorEd Bartosh <ed.bartosh@linux.intel.com>
Mon, 18 Jul 2016 16:07:17 +0000 (19:07 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Jul 2016 09:23:46 +0000 (10:23 +0100)
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 <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/utils.py

index aad26a0f1e66be5bc1fe5b44e01ee712a87c2ec1..995089a384f9847c51145f6d523a8133d015b067 100644 (file)
@@ -575,6 +575,7 @@ def preserved_envvars_exported():
         'TERM',
         'USER',
         'LC_ALL',
+        'BBSERVER',
     ]
 
 def preserved_envvars():