summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2011-04-05 12:01:04 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-10 13:33:07 +0100
commitd0552e9c651b9b8b31f966f1ed4bdc0b1a9b16c2 (patch)
treef6c50c5d7b43e9d0199d344afa6a6062f0dee4b4 /meta/lib
parent057cc1e8162017b63a334953eb0998863e6b640f (diff)
downloadpoky-d0552e9c651b9b8b31f966f1ed4bdc0b1a9b16c2.tar.gz
oe.terminal: improve how we spawn screen
- Name the screen session 'devshell', to avoid confusion if running bitbake itself under a screen session. - Display a warning message when spawning screen, so it's clear to the user that screen has been run (otherwise do_devshell just appears to hang). (From OE-Core rev: 13e01d29d14e7e7403d0c45c5699ea9160243868) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oe/terminal.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/lib/oe/terminal.py b/meta/lib/oe/terminal.py
index 3767935586..3965462598 100644
--- a/meta/lib/oe/terminal.py
+++ b/meta/lib/oe/terminal.py
@@ -70,7 +70,12 @@ class Rxvt(XTerminal):
70 priority = 1 70 priority = 1
71 71
72class Screen(Terminal): 72class Screen(Terminal):
73 command = 'screen -D -m -t "{title}" {command}' 73 command = 'screen -D -m -t "{title}" -S devshell {command}'
74
75 def __init__(self, command, title=None, env=None):
76 Terminal.__init__(self, command, title, env)
77 logger.warn('Screen started. Please connect in another terminal with '
78 '"screen -r devshell"')
74 79
75 80
76def prioritized(): 81def prioritized():