summaryrefslogtreecommitdiff
path: root/meta/classes/terminal.bbclass
diff options
context:
space:
mode:
authorJason Wessel <jason.wessel@windriver.com>2012-09-17 17:43:50 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-24 15:31:27 +0100
commit5ccff8d44626bfd3d1af2a7f81f0567997277809 (patch)
tree7f777dc4b44faf80dd138f4b5d15cb76999cd567 /meta/classes/terminal.bbclass
parent7db73c70351939c4be9867981a8cf97148bbe57e (diff)
downloadopenembedded-core-5ccff8d44626bfd3d1af2a7f81f0567997277809.tar.gz
openembedded-core-5ccff8d44626bfd3d1af2a7f81f0567997277809.tar.bz2
openembedded-core-5ccff8d44626bfd3d1af2a7f81f0567997277809.zip
terminal: pass data store all the way through to terminal class
Passing the data store will be needed for firing a custom event for the screen class. Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/terminal.bbclass')
-rw-r--r--meta/classes/terminal.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/terminal.bbclass b/meta/classes/terminal.bbclass
index 3cfc84b444..2cd6f4c34f 100644
--- a/meta/classes/terminal.bbclass
+++ b/meta/classes/terminal.bbclass
@@ -25,7 +25,7 @@ def oe_terminal(command, title, d):
bb.fatal('Devshell usage disabled with OE_TERMINAL')
elif terminal != 'auto':
try:
- oe.terminal.spawn(terminal, command, title)
+ oe.terminal.spawn(terminal, command, title, None, d)
return
except oe.terminal.UnsupportedTerminal:
bb.warn('Unsupported terminal "%s", defaulting to "auto"' %
@@ -34,7 +34,7 @@ def oe_terminal(command, title, d):
bb.fatal('Unable to spawn terminal %s: %s' % (terminal, exc))
try:
- oe.terminal.spawn_preferred(command, title)
+ oe.terminal.spawn_preferred(command, title, None, d)
except oe.terminal.NoSupportedTerminals:
bb.fatal('No valid terminal found, unable to open devshell')
except oe.terminal.ExecutionError as exc: