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

git at git.openembedded.org git at git.openembedded.org
Tue Jul 19 14:06:27 UTC 2016


rpurdie pushed a commit to branch master-next
in repository bitbake.

commit f0a3cf28484ccc56d245be8e7b91fdb4c4e9de77
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 3f1c645..561db6b 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