diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2016-07-18 19:07:17 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-07-20 10:23:46 +0100 |
commit | b190c08b4866c5bfaca3bf8fc84c8ece486348d6 (patch) | |
tree | 44b9bc724893578179de233b3f6cceb83ad6bce4 | |
parent | 6597ba6b43fff2c8d8179090b4c92ce511c84a20 (diff) | |
download | poky-b190c08b4866c5bfaca3bf8fc84c8ece486348d6.tar.gz |
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 <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | bitbake/lib/bb/utils.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py index aad26a0f1e..995089a384 100644 --- a/bitbake/lib/bb/utils.py +++ b/bitbake/lib/bb/utils.py | |||
@@ -575,6 +575,7 @@ def preserved_envvars_exported(): | |||
575 | 'TERM', | 575 | 'TERM', |
576 | 'USER', | 576 | 'USER', |
577 | 'LC_ALL', | 577 | 'LC_ALL', |
578 | 'BBSERVER', | ||
578 | ] | 579 | ] |
579 | 580 | ||
580 | def preserved_envvars(): | 581 | def preserved_envvars(): |