On Tue, Mar 16, 2021 at 8:05 PM 'Stewart Hildebrand' via OSv Development < osv-dev@googlegroups.com> wrote:
> and other pre-requisites needed for the next patch. Specifically, the next > patch > needs the following shell utilities (packages): > > readelf (binutils) > grep (grep) > awk (gawk) > printf (coreutils) > tac (coreutils) > xxd (xxd/vim-common) > Thanks. In reply to your previous patch I suggested maybe we don't need to use xxd (and add the dependency on vim, even though it's my favorite editor :-)), but you're very right on those other dependencies which crept in and need to be added to setup.py. The awk dependency could perhaps be avoided (e.g., awk is just used in one place) but it is unlikely that anyone will want not to install it. > Please note that I'm not trying to convey my preference for any particular > editor. It just so happens that on CentOS and Fedora the package that > provides > "xxd" is named "vim-common". > > Signed-off-by: Stewart Hildebrand <stewart.hildebr...@dornerworks.com> > --- > > I tested this on CentOS 7, Fedora 31, and ubuntu 20.04. > I have not tested it on Debian since I don't have a Debian install handy. > --- > scripts/setup.py | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > > diff --git a/scripts/setup.py b/scripts/setup.py > index 7413db7b..7d0dd777 100755 > --- a/scripts/setup.py > +++ b/scripts/setup.py > @@ -31,15 +31,19 @@ class Fedora(object): > 'ant', > 'autoconf', > 'automake', > + 'binutils', > 'bison', > 'boost-static', > + 'coreutils', > 'curl', > 'flex', > + 'gawk', > 'gcc-c++', > 'gdb', > 'genromfs', > 'git', > 'gnutls-utils', > + 'grep', > 'libedit-devel', > 'libstdc++-static', > 'libtool', > @@ -60,6 +64,7 @@ class Fedora(object): > 'qemu-system-x86', > 'tcpdump', > 'unzip', > + 'vim-common', > 'wget', > 'yaml-cpp-devel', > 'pax-utils', > @@ -165,8 +170,10 @@ class Debian(object): > 'ant', > 'autoconf', > 'automake', > + 'binutils', > 'bison', > 'build-essential', > + 'coreutils', > 'curl', > 'flex', > 'gawk', > @@ -174,6 +181,7 @@ class Debian(object): > 'genromfs', > 'git', > 'gnutls-bin', > + 'grep', > 'libboost-all-dev', > 'libedit-dev', > 'libmaven-shade-plugin-java', > @@ -192,6 +200,7 @@ class Debian(object): > 'tcpdump', > 'unzip', > 'wget', > + 'xxd', > ] > > ec2_packages = standard_ec2_packages > @@ -221,8 +230,10 @@ class Ubuntu(object): > 'ant', > 'autoconf', > 'automake', > + 'binutils', > 'bison', > 'build-essential', > + 'coreutils', > 'curl', > 'flex', > 'gawk', > @@ -230,6 +241,7 @@ class Ubuntu(object): > 'genromfs', > 'git', > 'gnutls-bin', > + 'grep', > 'libboost-all-dev', > 'libedit-dev', > 'libmaven-shade-plugin-java', > @@ -247,6 +259,7 @@ class Ubuntu(object): > 'tcpdump', > 'unzip', > 'wget', > + 'xxd', > 'lua5.3', > 'liblua5.3', > 'pax-utils', > @@ -343,8 +356,12 @@ class CentOS(object): > 'ant', > 'autoconf', > 'automake', > + 'binutils', > + 'coreutils', > 'curl', > + 'gawk', > 'git', > + 'grep', > 'gnutls-utils', > 'libtool', > 'maven', > @@ -358,6 +375,7 @@ class CentOS(object): > 'qemu-img', > 'tcpdump', > 'unzip', > + 'vim-common', > 'wget', > 'yaml-cpp-devel', > 'pax-utils', > -- > 2.30.2 > > -- > You received this message because you are subscribed to the Google Groups > "OSv Development" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to osv-dev+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/osv-dev/20210316180526.126830-2-stewart.hildebrand%40dornerworks.com > . > -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to osv-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/osv-dev/CANEVyjtAvzJB0qpKyO1UBjefJ_hF7dsArjNcXCECNyCszctAhQ%40mail.gmail.com.