If this isn't done, various terminals fail to launch correctly
with "No such file or directory" errors. This adds back the environment
manipulation removed in the addition of "custom" terminal command
support but shouldn't regress that additional functionality
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
for export in oe.data.typed_value('OE_TERMINAL_EXPORTS', d):
value = d.getVar(export, True)
if value is not None:
+ os.environ[export] = str(value)
env[export] = str(value)
terminal = oe.data.typed_value('OE_TERMINAL', d).lower()