mirror of
git://git.yoctoproject.org/poky
synced 2026-08-13 22:05:25 +00:00
terminal.bbclass: Ensure parent environment is set
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 (From OE-Core rev: 424d2339b462081010af6e7525a71f64d97ff05e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
c1c20c02a0
commit
05a1f4a5a3
@ -20,6 +20,7 @@ def oe_terminal(command, title, d):
|
||||
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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user