diff options
author | Pavel Zhukov <pazhukov@suse.de> | 2023-05-23 10:12:55 +0200 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2023-06-14 04:14:25 -1000 |
commit | 9fc8f8395f7ff3a2879a1546f20463243e889059 (patch) | |
tree | 7407b1c7478e939efa31e1b8de85afbba6df28e3 /meta/lib/oe/terminal.py | |
parent | 7bed4a0ed5cd63bba03f44a3832087bd72d0c021 (diff) | |
download | poky-9fc8f8395f7ff3a2879a1546f20463243e889059.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: d873b925a02dfec2c7655757a1f08d2435fe1980)
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>
Diffstat (limited to 'meta/lib/oe/terminal.py')
-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 71ffc87019..4412bc14c1 100644 --- a/meta/lib/oe/terminal.py +++ b/meta/lib/oe/terminal.py | |||
@@ -104,6 +104,10 @@ class Rxvt(XTerminal): | |||
104 | command = 'rxvt -T "{title}" -e {command}' | 104 | command = 'rxvt -T "{title}" -e {command}' |
105 | priority = 1 | 105 | priority = 1 |
106 | 106 | ||
107 | class URxvt(XTerminal): | ||
108 | command = 'urxvt -T "{title}" -e {command}' | ||
109 | priority = 1 | ||
110 | |||
107 | class Screen(Terminal): | 111 | class Screen(Terminal): |
108 | command = 'screen -D -m -t "{title}" -S devshell {command}' | 112 | command = 'screen -D -m -t "{title}" -S devshell {command}' |
109 | 113 | ||