From 15c4ea679f4fe097a9f21cccfc82907b5f39a4e4 Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Mon, 18 Jul 2016 19:07:17 +0300 Subject: [PATCH] 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 Signed-off-by: Richard Purdie --- lib/bb/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/bb/utils.py b/lib/bb/utils.py index aad26a0f1e6..995089a384f 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(): -- 2.47.3