Added support to Intel Quartzville tools

The Intel Quartzville (QV) tools is a bundle of network utilities that
support validation, debug, and IEEE Conformance testing of Intel
network adapters; identification and diagnostics of Intel PCI adapters,
collection of properties and assigned resources, for automation; and
an EEPROM programming utility.

The Quartzville tools are proprietary, but the Intel QV Linux (iqvlinux)
driver is licensed as open source (GPL2), so it shall be supported as
a kernel module in StarlingX.

This commit adds container-based support of Intel Quartzville (QV) tools
in StarlingX, as a facility to users that own a valid Intel QV license,
so they may install QV tools into the container stx-debian-tools-dev.

Story: 2010138
Task: 46733

Depends-On: https://review.opendev.org/c/starlingx/tools/+/866534

Signed-off-by: Rogerio Ferraz <RogerioOliveira.Ferraz@windriver.com>
Change-Id: I86b99f6502b32f832497ed30ffbb397d24430823
This commit is contained in:
Rogerio Ferraz 2022-12-03 18:42:14 +00:00
parent 5a653a9e4b
commit 4e29ae82c3
2 changed files with 33 additions and 43 deletions

View File

@ -27,32 +27,6 @@ RUN set -ex && \
apt-get clean && \ apt-get clean && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
# Install packages provided only by Debian.
RUN set -ex && \
cp -f /etc/apt/sources.list.d/debian.list.disabled /etc/apt/sources.list.d/debian.list && \
cp -f /etc/apt/sources.list.d/stx.list.disabled /etc/apt/sources.list.d/stx.list && \
apt-get update -y && \
apt-get install -y \
autoconf-archive \
autogen \
cmake \
doxygen \
dwarves \
git \
git-review \
libcap-dev \
libjson-c-dev \
linux-perf-5.10 \
ncurses-dev \
sphinx-doc \
unzip \
uuid-dev \
&& \
rm -f /etc/apt/sources.list.d/debian.list && \
rm -f /etc/apt/sources.list.d/stx.list && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# Enable stx repo only. Packages installs below this point will use # Enable stx repo only. Packages installs below this point will use
# only the managed locally-built & 3rd-party repos. # only the managed locally-built & 3rd-party repos.
RUN set -ex && \ RUN set -ex && \
@ -63,27 +37,43 @@ RUN set -ex && \
apt-get update -y && \ apt-get update -y && \
apt-get upgrade -y && \ apt-get upgrade -y && \
apt-get install -y \ apt-get install -y \
autoconf-archive \
autogen \
automake \ automake \
bash \ bash \
bc \ bc \
bison \ bison \
cmake \
curl \ curl \
doxygen \
dwarves \
fakeroot \ fakeroot \
flex \ flex \
gcc \
g++ \ g++ \
gcc \
genisoimage \
gettext \ gettext \
isomd5sum \ isomd5sum \
kmod \
libcap-dev \
libelf-dev \ libelf-dev \
libncurses-dev \
libhwloc-dev=1.11.12-3 \ libhwloc-dev=1.11.12-3 \
libjson-c-dev \
libssl-dev \ libssl-dev \
linux-headers-5.10.0-6 \
make \ make \
mkisofs \ pciutils \
python-is-python3 \
python3-intelhex \
python3-pip \
python3-pybind11 \
python3-yaml \ python3-yaml \
rsync \ rsync \
sphinx-common \ sphinx-common \
sphinx-doc \
sudo \ sudo \
sysvinit-utils \
uuid-dev \
vim \ vim \
wget \ wget \
xz-utils \ xz-utils \

View File

@ -33,20 +33,10 @@ RUN set -ex && \
cp -f /etc/apt/sources.list.d/stx.list.disabled /etc/apt/sources.list.d/stx.list && \ cp -f /etc/apt/sources.list.d/stx.list.disabled /etc/apt/sources.list.d/stx.list && \
apt-get update -y && \ apt-get update -y && \
apt-get install -y \ apt-get install -y \
autoconf-archive \
autogen \
cmake \
doxygen \
dwarves \
git \ git \
git-review \ git-review \
libcap-dev \ tree \
libjson-c-dev \
linux-perf-5.10 \
ncurses-dev \
sphinx-doc \
unzip \ unzip \
uuid-dev \
&& \ && \
rm -f /etc/apt/sources.list.d/debian.list && \ rm -f /etc/apt/sources.list.d/debian.list && \
rm -f /etc/apt/sources.list.d/stx.list && \ rm -f /etc/apt/sources.list.d/stx.list && \
@ -63,23 +53,31 @@ RUN set -ex && \
apt-get update -y && \ apt-get update -y && \
apt-get upgrade -y && \ apt-get upgrade -y && \
apt-get install -y \ apt-get install -y \
autoconf-archive \
autogen \
automake \ automake \
bash \ bash \
bc \ bc \
bison \ bison \
cmake \
curl \ curl \
doxygen \
dwarves \
fakeroot \ fakeroot \
flex \ flex \
gcc \
g++ \ g++ \
gcc \
genisoimage \
gettext \ gettext \
isomd5sum \ isomd5sum \
kmod \
libcap-dev \
libelf-dev \ libelf-dev \
libncurses-dev \
libhwloc-dev=1.11.12-3 \ libhwloc-dev=1.11.12-3 \
libjson-c-dev \
libssl-dev \ libssl-dev \
linux-headers-5.10.0-6 \
make \ make \
mkisofs \
pciutils \ pciutils \
python-is-python3 \ python-is-python3 \
python3-intelhex \ python3-intelhex \
@ -88,8 +86,10 @@ RUN set -ex && \
python3-yaml \ python3-yaml \
rsync \ rsync \
sphinx-common \ sphinx-common \
sphinx-doc \
sudo \ sudo \
sysvinit-utils \ sysvinit-utils \
uuid-dev \
vim \ vim \
wget \ wget \
xz-utils \ xz-utils \