From: Richard Purdie Date: Tue, 30 Oct 2012 16:36:50 +0000 (+0000) Subject: terminal.bbclass: Ensure parent environment is set X-Git-Tag: 2015-4~8754 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=424d2339b462081010af6e7525a71f64d97ff05e;p=openembedded-core.git 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 Signed-off-by: Richard Purdie --- diff --git a/meta/classes/terminal.bbclass b/meta/classes/terminal.bbclass index 51846c125c..4a3ddef04f 100644 --- a/meta/classes/terminal.bbclass +++ b/meta/classes/terminal.bbclass @@ -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()