summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-10-30 16:36:50 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-11-01 11:49:13 +0000
commit424d2339b462081010af6e7525a71f64d97ff05e (patch)
treee62feece5c94ee9164db918f7e13b5cbfeac16bb /meta
parent0e90a303bc5cb0ede21ff4346843f9daeddfff45 (diff)
downloadopenembedded-core-424d2339b462081010af6e7525a71f64d97ff05e.tar.gz
openembedded-core-424d2339b462081010af6e7525a71f64d97ff05e.tar.bz2
openembedded-core-424d2339b462081010af6e7525a71f64d97ff05e.zip
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 <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/terminal.bbclass1
1 files changed, 1 insertions, 0 deletions
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()