[oe-commits] [bitbake] 03/04: bitbake: utils: add BBSERVER to the list of preserved variables

git at git.openembedded.org git at git.openembedded.org
Wed Jul 20 09:24:26 UTC 2016


rpurdie pushed a commit to branch master
in repository bitbake.

commit 15c4ea679f4fe097a9f21cccfc82907b5f39a4e4
Author: Ed Bartosh <ed.bartosh at linux.intel.com>
AuthorDate: Mon Jul 18 19:07:17 2016 +0300

    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 <ed.bartosh at linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 lib/bb/utils.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/bb/utils.py b/lib/bb/utils.py
index aad26a0..995089a 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():

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list