documentation/poky.ent: Add screen
PATCH 1/1 documentation/poky.ent: Add screen
Add screen to the list of packages for Ubuntu. Without screen or an alternative terminal, executing -c devshell fails due to the following error:
ERROR: do_devshell: No valid terminal found, unable to open devshell.
Tested on a fresh installation of Ubuntu 18.04.4 LTS.
--- documentation/poky.ent | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
documentation/poky.ent +1 -1
@@ -62,7 +62,7 @@ <!ENTITY UBUNTU_HOST_PACKAGES_ESSENTIAL "gawk wget git-core diffstat unzip texinfo gcc-multilib \ build-essential chrpath socat cpio python3 python3-pip python3-pexpect \ xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev \ - pylint3 xterm python3-subunit mesa-common-dev"> + pylint3 xterm python3-subunit mesa-common-dev screen"> <!ENTITY FEDORA_HOST_PACKAGES_ESSENTIAL "gawk make wget tar bzip2 gzip python3 unzip perl patch \ diffutils diffstat git cpp gcc gcc-c++ glibc-devel texinfo chrpath \ ccache perl-Data-Dumper perl-Text-ParseWords perl-Thread-Queue perl-bignum socat \
Signature · 1 line
2.17.1
Quoted 26 lines
-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Leon Anavi
Sent: den 7 juli 2020 11:37
To: [email protected]
Cc: Leon Anavi <[email protected]>
Subject: [docs] [PATCH] documentation/poky.ent: Add screenAdd screen to the list of packages for Ubuntu. Without screen or an alternative terminal, executing -c devshell fails due to the following error:
ERROR:
do_devshell: No valid terminal found, unable to open devshell.Tested on a fresh installation of Ubuntu 18.04.4 LTS.
Signed-off-by Leon Anavi <[email protected]>--- documentation/poky.ent | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)documentation/poky.ent +0
-0
documentation/poky.ent line 65
Quoted 5 lines
documentation/poky.ent +1
-1@@ -62,7 +62,7 @@ <!ENTITY UBUNTU_HOST_PACKAGES_ESSENTIAL "gawk wget git-core diffstat unzip texinfo gcc-multilib \ build-essential chrpath socat cpio python3 python3-pip python3-pexpect \ xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev \ - pylint3 xterm python3-subunit mesa-common-dev"> + pylint3 xterm python3-subunit mesa-common-dev screen">
^^^^^
Doesn't "xterm" fulfill the requirement for a valid terminal? It is already specified for all the distros, not only Ubuntu.
Quoted 5 lines
documentation/poky.ent +0
-1<!ENTITY FEDORA_HOST_PACKAGES_ESSENTIAL "gawk make wget tar bzip2 gzip python3 unzip perl patch \ diffutils diffstat git cpp gcc gcc-c++ glibc-devel texinfo chrpath \ ccache perl-Data-Dumper perl-Text-ParseWords perl-Thread-Queue perl-bignum socat \ --2.17.1
//Peter
Hi Peter,
Quoted 32 lines · Peter Kjellerstedt
Quoted 26 lines
-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Leon Anavi
Sent: den 7 juli 2020 11:37
To: [email protected]
Cc: Leon Anavi <[email protected]>
Subject: [docs] [PATCH] documentation/poky.ent: Add screenAdd screen to the list of packages for Ubuntu. Without screen or an alternative terminal, executing -c devshell fails due to the following error:
ERROR:
do_devshell: No valid terminal found, unable to open devshell.Tested on a fresh installation of Ubuntu 18.04.4 LTS.
Signed-off-by Leon Anavi <[email protected]>--- documentation/poky.ent | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)documentation/poky.ent +0
-0documentation/poky.ent line 65
Quoted 5 lines
documentation/poky.ent +1
-1@@ -62,7 +62,7 @@ <!ENTITY UBUNTU_HOST_PACKAGES_ESSENTIAL "gawk wget git-core diffstat unzip texinfo gcc-multilib \ build-essential chrpath socat cpio python3 python3-pip python3-pexpect \ xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev \ - pylint3 xterm python3-subunit mesa-common-dev"> + pylint3 xterm python3-subunit mesa-common-dev screen">^^^^^
Quoted 1 line
Doesn't "xterm" fulfill the requirement for a valid terminal?
No, because in my case I am logging remotely to the build machine via SSH. Here are more details (without installed screen):
* I have xterm installed:
$ dpkg -l | grep xterm ii xterm 330-1ubuntu2 amd64 X terminal emulator
* I am using release Dunfell:
$ git branch * dunfell
* devshell fails:
$ bitbake u-boot -c devshell
ERROR: u-boot-1_2020.01-r0 do_devshell: 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 "OpenEmbedded Developer Shell" "do_terminal" xfce4-terminal -T "OpenEmbedded Developer Shell" -e "do_terminal" terminology -T="OpenEmbedded Developer Shell" -e do_terminal mate-terminal --disable-factory -t "OpenEmbedded Developer Shell" -x do_terminal konsole --separate --workdir . -p tabtitle="OpenEmbedded Developer Shell" -e do_terminal gnome-terminal -t "OpenEmbedded Developer Shell" -- do_terminal
xterm -T "OpenEmbedded Developer Shell" -e do_terminal
rxvt -T "OpenEmbedded Developer Shell" -e do_terminal
tmux new -c "{cwd}" -d -s devshell -n devshell "do_terminal"
screen -D -m -t "OpenEmbedded Developer Shell" -S devshell do_terminal
I believe often developer login via SSH to build machines therefore it will be useful to have screen in the list of packages.
Best regards,
Leon
Quoted 9 lines
It is already specified for all the distros, not only Ubuntu.
Quoted 5 lines
documentation/poky.ent +0
-1<!ENTITY FEDORA_HOST_PACKAGES_ESSENTIAL "gawk make wget tar bzip2 gzip python3 unzip perl patch \ diffutils diffstat git cpp gcc gcc-c++ glibc-devel texinfo chrpath \ ccache perl-Data-Dumper perl-Text-ParseWords perl-Thread-Queue perl-bignum socat \ --2.17.1
//Peter
Signature · 3 lines
Leon Anavi Software Engineer konsulko.com
Quoted 81 lines
-----Original Message-----
From: Leon Anavi <[email protected]>
Sent: den 8 juli 2020 00:35
To: Peter Kjellerstedt <[email protected]>; [email protected]
Subject: Re: [docs] [PATCH] documentation/poky.ent: Add screenHi Peter,
Quoted 2 lines · Peter Kjellerstedt
Quoted 2 lines
-----Original Message-----
From: [email protected] <[email protected]> OnBehalf
Quoted 19 lines
Quoted 19 lines
Of Leon Anavi
Sent: den 7 juli 2020 11:37
To: [email protected]
Cc: Leon Anavi <[email protected]>
Subject: [docs] [PATCH] documentation/poky.ent: Add screenAdd screen to the list of packages for Ubuntu. Without screen or an alternative terminal, executing -c devshell fails due to the following error:
ERROR:
do_devshell: No valid terminal found, unable to open devshell.Tested on a fresh installation of Ubuntu 18.04.4 LTS.
Signed-off-by Leon Anavi <[email protected]>--- documentation/poky.ent | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Quoted 6 lines
documentation/poky.ent line 62
Quoted 6 lines
documentation/poky.ent +0
-0@@ -62,7 +62,7 @@ <!ENTITY UBUNTU_HOST_PACKAGES_ESSENTIAL "gawk wget git-core diffstatunzip texinfo gcc-multilib \
Quoted 1 line
documentation/poky.ent line 63
Quoted 1 line
documentation/poky.ent +0
-0build-essential chrpath socat cpio python3 python3-pip python3-pexpect \
Quoted 1 line
documentation/poky.ent line 64
Quoted 1 line
documentation/poky.ent +0
-0xz-utils debianutils iputils-ping python3-git python3-jinja2libegl1-mesa libsdl1.2-dev \
Quoted 4 lines
documentation/poky.ent line 65
Quoted 2 lines
documentation/poky.ent +1
-1- pylint3 xterm python3-subunit mesa-common-dev"> + pylint3 xterm python3-subunit mesa-common-dev screen">^^^^^Doesn't "xterm" fulfill the requirement for a valid terminal?
No, because in my case I am logging remotely to the build machine via SSH. Here are more details (without installed screen):
* I have xterm installed:
$ dpkg -l | grep xterm ii xterm 330-1ubuntu2 amd64 X terminal emulator* I am using release Dunfell:
$ git branch * dunfell* devshell fails:
$ bitbake u-boot -c devshellERROR: u-boot-1_2020.01-r0
do_devshell: 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 "OpenEmbedded Developer Shell" "do_terminal" xfce4-terminal -T "OpenEmbedded Developer Shell" -e "do_terminal" terminology -T="OpenEmbedded Developer Shell" -edo_terminalmate-terminal --disable-factory -t "OpenEmbedded Developer Shell" -xdo_terminalkonsole --separate --workdir . -p tabtitle="OpenEmbedded Developer Shell" -edo_terminalgnome-terminal -t "OpenEmbedded Developer Shell" --do_terminal
xterm -T "OpenEmbedded Developer Shell" -edo_terminal
rxvt -T "OpenEmbedded Developer Shell" -edo_terminal
tmux new -c "{cwd}" -d -s devshell -n devshell "do_terminal"
screen -D -m -t "OpenEmbedded Developer Shell" -S devshelldo_terminal
Quoted 2 lines
I believe often developer login via SSH to build machines therefore it will be useful to have screen in the list of packages.
Well, you can argue that any or all of the above commands should be added to the list then. Which terminal one prefers is very much a personal choice (I for one hate both screen and tmux and never use them). The *_HOST_PACKAGES_ESSENTIAL variables are supposed to list only the essential packages needed to build and run a QEMU image with graphics support, and I will argue that screen does not fill that requirement. The error message above should be more than enough to help anyone select a suitable terminal to install if they want to use devshell.
Quoted 11 lines
Best regards,
LeonQuoted 3 lines
It is already specified for all the distros, not only Ubuntu.
Quoted 1 line
documentation/poky.ent +0
-0<!ENTITY FEDORA_HOST_PACKAGES_ESSENTIAL "gawk make wget tar bzip2gzip python3 unzip perl patch \
Quoted 1 line
documentation/poky.ent line 67
Quoted 1 line
documentation/poky.ent +0
-0diffutils diffstat git cpp gcc gcc-c++ glibc-devel texinfochrpath \
Quoted 1 line
documentation/poky.ent line 68
Quoted 1 line
documentation/poky.ent +0
-0ccache perl-Data-Dumper perl-Text-ParseWords perl-Thread-Queueperl-bignum socat \
Quoted 8 lines
Quoted 4 lines
Quoted 2 lines
--
2.17.1//Peter
--
Leon Anavi
Software Engineer
konsulko.com
//Peter