bitbake: 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.

(Bitbake rev: 0d5cdd0c0d65f2f81c3af0f3767fee86c4142c3a)

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Jacob Kroon
2020-06-15 14:22:31 +02:00
committed by Richard Purdie
parent 816a12758b
commit 135cbf0efe

View File

@@ -580,7 +580,6 @@ def preserved_envvars_exported():
'PATH',
'PWD',
'SHELL',
'TERM',
'USER',
'LC_ALL',
'BBSERVER',