diff options
author | Pavel Zhukov <pazhukov@suse.de> | 2023-05-23 10:12:55 +0200 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2023-06-23 04:16:41 -1000 |
commit | 18469232f6c74cd38bc615de72a68a1e4ed9478a (patch) | |
tree | c15a4a8eff2c072a45e4f604d79430e682c5d7eb | |
parent | a81330c455fe0f9a467f1e80dd508c0092f6a18c (diff) | |
download | poky-18469232f6c74cd38bc615de72a68a1e4ed9478a.tar.gz |
lib/terminal.py: Add urxvt terminal
This fixes failure [1] of menuconfig task in rxvt-unicode terminal in case if
xterm/Konsole/Gnome is not installed. Tested with rxvt-unicode-256color
[1]
WARNING: Terminal screen is supported but did not start
ERROR: No valid terminal found, unable to open devshell.
Tried the following commands:
tmux split-window -c "{cwd}" "do_terminal"
tmux new-window -c "{cwd}" -n "zephyr-helloworld Configuration" "do_terminal"
xfce4-terminal -T "zephyr-helloworld Configuration" -e "do_terminal"
terminology -T="zephyr-helloworld Configuration" -e do_terminal
mate-terminal --disable-factory -t "zephyr-helloworld Configuration" -x do_terminal
konsole --separate --workdir . -p tabtitle="zephyr-helloworld Configuration" -e do_terminal
gnome-terminal -t "zephyr-helloworld Configuration" -- do_terminal
xterm -T "zephyr-helloworld Configuration" -e do_terminal
rxvt -T "zephyr-helloworld Configuration" -e do_terminal
tmux new -c "{cwd}" -d -s devshell -n devshell "do_terminal"
screen -D -m -t "zephyr-helloworld Configuration" -S devshell do_terminal
DEBUG: Python function do_menuconfig finished
(From OE-Core rev: 59f1a1b2326e2191aa882cfc73a851ea79672a6f)
Signed-off-by: Pavel Zhukov <pazhukov@suse.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8d2fe4df8ae33e033caf4119a76715f085be1d15)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r-- | meta/lib/oe/terminal.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/lib/oe/terminal.py b/meta/lib/oe/terminal.py index de8dcebf94..b674335654 100644 --- a/meta/lib/oe/terminal.py +++ b/meta/lib/oe/terminal.py | |||
@@ -102,6 +102,10 @@ class Rxvt(XTerminal): | |||
102 | command = 'rxvt -T "{title}" -e {command}' | 102 | command = 'rxvt -T "{title}" -e {command}' |
103 | priority = 1 | 103 | priority = 1 |
104 | 104 | ||
105 | class URxvt(XTerminal): | ||
106 | command = 'urxvt -T "{title}" -e {command}' | ||
107 | priority = 1 | ||
108 | |||
105 | class Screen(Terminal): | 109 | class Screen(Terminal): |
106 | command = 'screen -D -m -t "{title}" -S devshell {command}' | 110 | command = 'screen -D -m -t "{title}" -S devshell {command}' |
107 | 111 | ||