aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacob Kroon <jacob.kroon@gmail.com>2020-06-15 14:22:31 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-06-15 15:04:04 +0100
commit0d5cdd0c0d65f2f81c3af0f3767fee86c4142c3a (patch)
tree16c8ab33526a19cc9bbd756d815a7d09e3265cd7
parentcfc78316309556bec487ef0a5a9205e41f1be86f (diff)
downloadbitbake-0d5cdd0c0d65f2f81c3af0f3767fee86c4142c3a.tar.gz
lib/bb/utils.py: Do not preserve TERM in the environment
The value of TERM is leaking into OE-Core postinst-useradd-${PN} scripts, which in turn can optionally be monitored by buildhistory. Prune the value in order to make the OE-Core buildhistory output more deterministic. Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/bb/utils.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/bb/utils.py b/lib/bb/utils.py
index 5f5767c1d..50032e50c 100644
--- a/lib/bb/utils.py
+++ b/lib/bb/utils.py
@@ -580,7 +580,6 @@ def preserved_envvars_exported():
'PATH',
'PWD',
'SHELL',
- 'TERM',
'USER',
'LC_ALL',
'BBSERVER',