summaryrefslogtreecommitdiffstats
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:25 +0000
commit05a1f4a5a32c6cc392fa4480732101d668cd6f77 (patch)
treed0abae93a41564880f162da383a904cafc3a49b2
parentc1c20c02a0eb808a099bebfcc7e90188baa22ba4 (diff)
downloadpoky-05a1f4a5a32c6cc392fa4480732101d668cd6f77.tar.gz
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>
-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):
20 for export in oe.data.typed_value('OE_TERMINAL_EXPORTS', d): 20 for export in oe.data.typed_value('OE_TERMINAL_EXPORTS', d):
21 value = d.getVar(export, True) 21 value = d.getVar(export, True)
22 if value is not None: 22 if value is not None:
23 os.environ[export] = str(value)
23 env[export] = str(value) 24 env[export] = str(value)
24 25
25 terminal = oe.data.typed_value('OE_TERMINAL', d).lower() 26 terminal = oe.data.typed_value('OE_TERMINAL', d).lower()