mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-09-06 18:05:37 +00:00
tests/lcitool: Add mtools and xorriso and remove genisoimage as dependencies
Bios bits avocado tests need mformat (provided by the mtools package) and xorriso tools in order to run within gitlab CI containers. Add those dependencies within the Dockerfiles so that containers can be built with those tools present and bios bits avocado tests can be run there. xorriso package conflicts with genisoimage package on some distributions. Therefore, it is not possible to have both the packages at the same time in the container image uniformly for all distribution flavors. Further, on some distributions like RHEL, both xorriso and genisoimage packages provide /usr/bin/genisoimage and on some other distributions like Fedora, only genisoimage package provides the same utility. Therefore, this change removes the dependency on geninsoimage for building container images altogether keeping only xorriso package. At the same time, cdrom-test.c is updated to use and check for existence of only xorrisofs. Signed-off-by: Ani Sinha <anisinha@redhat.com> Message-Id: <20230504154611.85854-3-anisinha@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
parent
a19b119bd7
commit
da9000784c
|
@ -11,6 +11,6 @@ MAKE='/usr/local/bin/gmake'
|
||||||
NINJA='/usr/local/bin/ninja'
|
NINJA='/usr/local/bin/ninja'
|
||||||
PACKAGING_COMMAND='pkg'
|
PACKAGING_COMMAND='pkg'
|
||||||
PIP3='/usr/local/bin/pip-3.8'
|
PIP3='/usr/local/bin/pip-3.8'
|
||||||
PKGS='alsa-lib bash bison bzip2 ca_root_nss capstone4 ccache cdrkit-genisoimage cmocka ctags curl cyrus-sasl dbus diffutils dtc flex fusefs-libs3 gettext git glib gmake gnutls gsed gtk3 json-c libepoxy libffi libgcrypt libjpeg-turbo libnfs libslirp libspice-server libssh libtasn1 llvm lzo2 meson ncurses nettle ninja opencv pixman pkgconf png py39-numpy py39-pillow py39-pip py39-sphinx py39-sphinx_rtd_theme py39-yaml python3 rpm2cpio sdl2 sdl2_image snappy sndio socat spice-protocol tesseract usbredir virglrenderer vte3 zstd'
|
PKGS='alsa-lib bash bison bzip2 ca_root_nss capstone4 ccache cmocka ctags curl cyrus-sasl dbus diffutils dtc flex fusefs-libs3 gettext git glib gmake gnutls gsed gtk3 json-c libepoxy libffi libgcrypt libjpeg-turbo libnfs libslirp libspice-server libssh libtasn1 llvm lzo2 meson mtools ncurses nettle ninja opencv pixman pkgconf png py39-numpy py39-pillow py39-pip py39-sphinx py39-sphinx_rtd_theme py39-yaml python3 rpm2cpio sdl2 sdl2_image snappy sndio socat spice-protocol tesseract usbredir virglrenderer vte3 xorriso zstd'
|
||||||
PYPI_PKGS=''
|
PYPI_PKGS=''
|
||||||
PYTHON='/usr/local/bin/python3'
|
PYTHON='/usr/local/bin/python3'
|
||||||
|
|
|
@ -11,6 +11,6 @@ MAKE='/opt/homebrew/bin/gmake'
|
||||||
NINJA='/opt/homebrew/bin/ninja'
|
NINJA='/opt/homebrew/bin/ninja'
|
||||||
PACKAGING_COMMAND='brew'
|
PACKAGING_COMMAND='brew'
|
||||||
PIP3='/opt/homebrew/bin/pip3'
|
PIP3='/opt/homebrew/bin/pip3'
|
||||||
PKGS='bash bc bison bzip2 capstone ccache cmocka ctags curl dbus diffutils dtc flex gcovr gettext git glib gnu-sed gnutls gtk+3 jemalloc jpeg-turbo json-c libepoxy libffi libgcrypt libiscsi libnfs libpng libslirp libssh libtasn1 libusb llvm lzo make meson ncurses nettle ninja pixman pkg-config python3 rpm2cpio sdl2 sdl2_image snappy socat sparse spice-protocol tesseract usbredir vde vte3 zlib zstd'
|
PKGS='bash bc bison bzip2 capstone ccache cmocka ctags curl dbus diffutils dtc flex gcovr gettext git glib gnu-sed gnutls gtk+3 jemalloc jpeg-turbo json-c libepoxy libffi libgcrypt libiscsi libnfs libpng libslirp libssh libtasn1 libusb llvm lzo make meson mtools ncurses nettle ninja pixman pkg-config python3 rpm2cpio sdl2 sdl2_image snappy socat sparse spice-protocol tesseract usbredir vde vte3 xorriso zlib zstd'
|
||||||
PYPI_PKGS='PyYAML numpy pillow sphinx sphinx-rtd-theme'
|
PYPI_PKGS='PyYAML numpy pillow sphinx sphinx-rtd-theme'
|
||||||
PYTHON='/opt/homebrew/bin/python3'
|
PYTHON='/opt/homebrew/bin/python3'
|
||||||
|
|
|
@ -19,7 +19,6 @@ RUN apk update && \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
capstone-dev \
|
capstone-dev \
|
||||||
ccache \
|
ccache \
|
||||||
cdrkit \
|
|
||||||
ceph-dev \
|
ceph-dev \
|
||||||
clang \
|
clang \
|
||||||
cmocka-dev \
|
cmocka-dev \
|
||||||
|
@ -67,6 +66,7 @@ RUN apk update && \
|
||||||
make \
|
make \
|
||||||
mesa-dev \
|
mesa-dev \
|
||||||
meson \
|
meson \
|
||||||
|
mtools \
|
||||||
multipath-tools \
|
multipath-tools \
|
||||||
musl-dev \
|
musl-dev \
|
||||||
ncurses-dev \
|
ncurses-dev \
|
||||||
|
@ -108,6 +108,7 @@ RUN apk update && \
|
||||||
which \
|
which \
|
||||||
xen-dev \
|
xen-dev \
|
||||||
xfsprogs-dev \
|
xfsprogs-dev \
|
||||||
|
xorriso \
|
||||||
zlib-dev \
|
zlib-dev \
|
||||||
zlib-static \
|
zlib-static \
|
||||||
zstd \
|
zstd \
|
||||||
|
|
|
@ -36,7 +36,6 @@ RUN dnf distro-sync -y && \
|
||||||
fuse3-devel \
|
fuse3-devel \
|
||||||
gcc \
|
gcc \
|
||||||
gcc-c++ \
|
gcc-c++ \
|
||||||
genisoimage \
|
|
||||||
gettext \
|
gettext \
|
||||||
git \
|
git \
|
||||||
glib2-devel \
|
glib2-devel \
|
||||||
|
@ -82,6 +81,7 @@ RUN dnf distro-sync -y && \
|
||||||
lzo-devel \
|
lzo-devel \
|
||||||
make \
|
make \
|
||||||
mesa-libgbm-devel \
|
mesa-libgbm-devel \
|
||||||
|
mtools \
|
||||||
ncurses-devel \
|
ncurses-devel \
|
||||||
nettle-devel \
|
nettle-devel \
|
||||||
ninja-build \
|
ninja-build \
|
||||||
|
@ -114,6 +114,7 @@ RUN dnf distro-sync -y && \
|
||||||
vte291-devel \
|
vte291-devel \
|
||||||
which \
|
which \
|
||||||
xfsprogs-devel \
|
xfsprogs-devel \
|
||||||
|
xorriso \
|
||||||
zlib-devel \
|
zlib-devel \
|
||||||
zlib-static \
|
zlib-static \
|
||||||
zstd && \
|
zstd && \
|
||||||
|
|
|
@ -25,7 +25,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
||||||
findutils \
|
findutils \
|
||||||
flex \
|
flex \
|
||||||
gcovr \
|
gcovr \
|
||||||
genisoimage \
|
|
||||||
gettext \
|
gettext \
|
||||||
git \
|
git \
|
||||||
hostname \
|
hostname \
|
||||||
|
@ -37,6 +36,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
||||||
locales \
|
locales \
|
||||||
make \
|
make \
|
||||||
meson \
|
meson \
|
||||||
|
mtools \
|
||||||
ncat \
|
ncat \
|
||||||
ninja-build \
|
ninja-build \
|
||||||
openssh-client \
|
openssh-client \
|
||||||
|
@ -57,6 +57,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
||||||
tar \
|
tar \
|
||||||
tesseract-ocr \
|
tesseract-ocr \
|
||||||
tesseract-ocr-eng \
|
tesseract-ocr-eng \
|
||||||
|
xorriso \
|
||||||
zstd && \
|
zstd && \
|
||||||
eatmydata apt-get autoremove -y && \
|
eatmydata apt-get autoremove -y && \
|
||||||
eatmydata apt-get autoclean -y && \
|
eatmydata apt-get autoclean -y && \
|
||||||
|
|
|
@ -28,7 +28,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
||||||
g++ \
|
g++ \
|
||||||
gcc \
|
gcc \
|
||||||
gcovr \
|
gcovr \
|
||||||
genisoimage \
|
|
||||||
gettext \
|
gettext \
|
||||||
git \
|
git \
|
||||||
hostname \
|
hostname \
|
||||||
|
@ -103,6 +102,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
||||||
locales \
|
locales \
|
||||||
make \
|
make \
|
||||||
meson \
|
meson \
|
||||||
|
mtools \
|
||||||
multipath-tools \
|
multipath-tools \
|
||||||
ncat \
|
ncat \
|
||||||
nettle-dev \
|
nettle-dev \
|
||||||
|
@ -127,6 +127,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
||||||
tesseract-ocr \
|
tesseract-ocr \
|
||||||
tesseract-ocr-eng \
|
tesseract-ocr-eng \
|
||||||
xfslibs-dev \
|
xfslibs-dev \
|
||||||
|
xorriso \
|
||||||
zlib1g-dev \
|
zlib1g-dev \
|
||||||
zstd && \
|
zstd && \
|
||||||
eatmydata apt-get autoremove -y && \
|
eatmydata apt-get autoremove -y && \
|
||||||
|
|
|
@ -25,7 +25,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
||||||
findutils \
|
findutils \
|
||||||
flex \
|
flex \
|
||||||
gcovr \
|
gcovr \
|
||||||
genisoimage \
|
|
||||||
gettext \
|
gettext \
|
||||||
git \
|
git \
|
||||||
hostname \
|
hostname \
|
||||||
|
@ -37,6 +36,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
||||||
locales \
|
locales \
|
||||||
make \
|
make \
|
||||||
meson \
|
meson \
|
||||||
|
mtools \
|
||||||
ncat \
|
ncat \
|
||||||
ninja-build \
|
ninja-build \
|
||||||
openssh-client \
|
openssh-client \
|
||||||
|
@ -57,6 +57,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
||||||
tar \
|
tar \
|
||||||
tesseract-ocr \
|
tesseract-ocr \
|
||||||
tesseract-ocr-eng \
|
tesseract-ocr-eng \
|
||||||
|
xorriso \
|
||||||
zstd && \
|
zstd && \
|
||||||
eatmydata apt-get autoremove -y && \
|
eatmydata apt-get autoremove -y && \
|
||||||
eatmydata apt-get autoclean -y && \
|
eatmydata apt-get autoclean -y && \
|
||||||
|
|
|
@ -25,7 +25,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
||||||
findutils \
|
findutils \
|
||||||
flex \
|
flex \
|
||||||
gcovr \
|
gcovr \
|
||||||
genisoimage \
|
|
||||||
gettext \
|
gettext \
|
||||||
git \
|
git \
|
||||||
hostname \
|
hostname \
|
||||||
|
@ -37,6 +36,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
||||||
locales \
|
locales \
|
||||||
make \
|
make \
|
||||||
meson \
|
meson \
|
||||||
|
mtools \
|
||||||
ncat \
|
ncat \
|
||||||
ninja-build \
|
ninja-build \
|
||||||
openssh-client \
|
openssh-client \
|
||||||
|
@ -57,6 +57,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
||||||
tar \
|
tar \
|
||||||
tesseract-ocr \
|
tesseract-ocr \
|
||||||
tesseract-ocr-eng \
|
tesseract-ocr-eng \
|
||||||
|
xorriso \
|
||||||
zstd && \
|
zstd && \
|
||||||
eatmydata apt-get autoremove -y && \
|
eatmydata apt-get autoremove -y && \
|
||||||
eatmydata apt-get autoclean -y && \
|
eatmydata apt-get autoclean -y && \
|
||||||
|
|
|
@ -25,7 +25,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
||||||
findutils \
|
findutils \
|
||||||
flex \
|
flex \
|
||||||
gcovr \
|
gcovr \
|
||||||
genisoimage \
|
|
||||||
gettext \
|
gettext \
|
||||||
git \
|
git \
|
||||||
hostname \
|
hostname \
|
||||||
|
@ -37,6 +36,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
||||||
locales \
|
locales \
|
||||||
make \
|
make \
|
||||||
meson \
|
meson \
|
||||||
|
mtools \
|
||||||
ncat \
|
ncat \
|
||||||
ninja-build \
|
ninja-build \
|
||||||
openssh-client \
|
openssh-client \
|
||||||
|
@ -57,6 +57,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
||||||
tar \
|
tar \
|
||||||
tesseract-ocr \
|
tesseract-ocr \
|
||||||
tesseract-ocr-eng \
|
tesseract-ocr-eng \
|
||||||
|
xorriso \
|
||||||
zstd && \
|
zstd && \
|
||||||
eatmydata apt-get autoremove -y && \
|
eatmydata apt-get autoremove -y && \
|
||||||
eatmydata apt-get autoclean -y && \
|
eatmydata apt-get autoclean -y && \
|
||||||
|
|
|
@ -25,7 +25,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
||||||
findutils \
|
findutils \
|
||||||
flex \
|
flex \
|
||||||
gcovr \
|
gcovr \
|
||||||
genisoimage \
|
|
||||||
gettext \
|
gettext \
|
||||||
git \
|
git \
|
||||||
hostname \
|
hostname \
|
||||||
|
@ -37,6 +36,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
||||||
locales \
|
locales \
|
||||||
make \
|
make \
|
||||||
meson \
|
meson \
|
||||||
|
mtools \
|
||||||
ncat \
|
ncat \
|
||||||
ninja-build \
|
ninja-build \
|
||||||
openssh-client \
|
openssh-client \
|
||||||
|
@ -57,6 +57,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
||||||
tar \
|
tar \
|
||||||
tesseract-ocr \
|
tesseract-ocr \
|
||||||
tesseract-ocr-eng \
|
tesseract-ocr-eng \
|
||||||
|
xorriso \
|
||||||
zstd && \
|
zstd && \
|
||||||
eatmydata apt-get autoremove -y && \
|
eatmydata apt-get autoremove -y && \
|
||||||
eatmydata apt-get autoclean -y && \
|
eatmydata apt-get autoclean -y && \
|
||||||
|
|
|
@ -25,7 +25,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
||||||
findutils \
|
findutils \
|
||||||
flex \
|
flex \
|
||||||
gcovr \
|
gcovr \
|
||||||
genisoimage \
|
|
||||||
gettext \
|
gettext \
|
||||||
git \
|
git \
|
||||||
hostname \
|
hostname \
|
||||||
|
@ -37,6 +36,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
||||||
locales \
|
locales \
|
||||||
make \
|
make \
|
||||||
meson \
|
meson \
|
||||||
|
mtools \
|
||||||
ncat \
|
ncat \
|
||||||
ninja-build \
|
ninja-build \
|
||||||
openssh-client \
|
openssh-client \
|
||||||
|
@ -57,6 +57,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
||||||
tar \
|
tar \
|
||||||
tesseract-ocr \
|
tesseract-ocr \
|
||||||
tesseract-ocr-eng \
|
tesseract-ocr-eng \
|
||||||
|
xorriso \
|
||||||
zstd && \
|
zstd && \
|
||||||
eatmydata apt-get autoremove -y && \
|
eatmydata apt-get autoremove -y && \
|
||||||
eatmydata apt-get autoclean -y && \
|
eatmydata apt-get autoclean -y && \
|
||||||
|
|
|
@ -25,7 +25,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
||||||
findutils \
|
findutils \
|
||||||
flex \
|
flex \
|
||||||
gcovr \
|
gcovr \
|
||||||
genisoimage \
|
|
||||||
gettext \
|
gettext \
|
||||||
git \
|
git \
|
||||||
hostname \
|
hostname \
|
||||||
|
@ -37,6 +36,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
||||||
locales \
|
locales \
|
||||||
make \
|
make \
|
||||||
meson \
|
meson \
|
||||||
|
mtools \
|
||||||
ncat \
|
ncat \
|
||||||
ninja-build \
|
ninja-build \
|
||||||
openssh-client \
|
openssh-client \
|
||||||
|
@ -57,6 +57,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
||||||
tar \
|
tar \
|
||||||
tesseract-ocr \
|
tesseract-ocr \
|
||||||
tesseract-ocr-eng \
|
tesseract-ocr-eng \
|
||||||
|
xorriso \
|
||||||
zstd && \
|
zstd && \
|
||||||
eatmydata apt-get autoremove -y && \
|
eatmydata apt-get autoremove -y && \
|
||||||
eatmydata apt-get autoclean -y && \
|
eatmydata apt-get autoclean -y && \
|
||||||
|
|
|
@ -25,7 +25,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
||||||
findutils \
|
findutils \
|
||||||
flex \
|
flex \
|
||||||
gcovr \
|
gcovr \
|
||||||
genisoimage \
|
|
||||||
gettext \
|
gettext \
|
||||||
git \
|
git \
|
||||||
hostname \
|
hostname \
|
||||||
|
@ -37,6 +36,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
||||||
locales \
|
locales \
|
||||||
make \
|
make \
|
||||||
meson \
|
meson \
|
||||||
|
mtools \
|
||||||
ncat \
|
ncat \
|
||||||
ninja-build \
|
ninja-build \
|
||||||
openssh-client \
|
openssh-client \
|
||||||
|
@ -57,6 +57,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
||||||
tar \
|
tar \
|
||||||
tesseract-ocr \
|
tesseract-ocr \
|
||||||
tesseract-ocr-eng \
|
tesseract-ocr-eng \
|
||||||
|
xorriso \
|
||||||
zstd && \
|
zstd && \
|
||||||
eatmydata apt-get autoremove -y && \
|
eatmydata apt-get autoremove -y && \
|
||||||
eatmydata apt-get autoclean -y && \
|
eatmydata apt-get autoclean -y && \
|
||||||
|
|
|
@ -30,7 +30,6 @@ exec "$@"\n' > /usr/bin/nosync && \
|
||||||
findutils \
|
findutils \
|
||||||
flex \
|
flex \
|
||||||
gcovr \
|
gcovr \
|
||||||
genisoimage \
|
|
||||||
git \
|
git \
|
||||||
glib2-devel \
|
glib2-devel \
|
||||||
glibc-langpack-en \
|
glibc-langpack-en \
|
||||||
|
@ -38,6 +37,7 @@ exec "$@"\n' > /usr/bin/nosync && \
|
||||||
llvm \
|
llvm \
|
||||||
make \
|
make \
|
||||||
meson \
|
meson \
|
||||||
|
mtools \
|
||||||
ninja-build \
|
ninja-build \
|
||||||
nmap-ncat \
|
nmap-ncat \
|
||||||
openssh-clients \
|
openssh-clients \
|
||||||
|
@ -59,6 +59,7 @@ exec "$@"\n' > /usr/bin/nosync && \
|
||||||
tesseract-langpack-eng \
|
tesseract-langpack-eng \
|
||||||
util-linux \
|
util-linux \
|
||||||
which \
|
which \
|
||||||
|
xorriso \
|
||||||
zstd && \
|
zstd && \
|
||||||
nosync dnf autoremove -y && \
|
nosync dnf autoremove -y && \
|
||||||
nosync dnf clean all -y
|
nosync dnf clean all -y
|
||||||
|
|
|
@ -30,7 +30,6 @@ exec "$@"\n' > /usr/bin/nosync && \
|
||||||
findutils \
|
findutils \
|
||||||
flex \
|
flex \
|
||||||
gcovr \
|
gcovr \
|
||||||
genisoimage \
|
|
||||||
git \
|
git \
|
||||||
glib2-devel \
|
glib2-devel \
|
||||||
glibc-langpack-en \
|
glibc-langpack-en \
|
||||||
|
@ -38,6 +37,7 @@ exec "$@"\n' > /usr/bin/nosync && \
|
||||||
llvm \
|
llvm \
|
||||||
make \
|
make \
|
||||||
meson \
|
meson \
|
||||||
|
mtools \
|
||||||
ninja-build \
|
ninja-build \
|
||||||
nmap-ncat \
|
nmap-ncat \
|
||||||
openssh-clients \
|
openssh-clients \
|
||||||
|
@ -59,6 +59,7 @@ exec "$@"\n' > /usr/bin/nosync && \
|
||||||
tesseract-langpack-eng \
|
tesseract-langpack-eng \
|
||||||
util-linux \
|
util-linux \
|
||||||
which \
|
which \
|
||||||
|
xorriso \
|
||||||
zstd && \
|
zstd && \
|
||||||
nosync dnf autoremove -y && \
|
nosync dnf autoremove -y && \
|
||||||
nosync dnf clean all -y
|
nosync dnf clean all -y
|
||||||
|
|
|
@ -43,7 +43,6 @@ exec "$@"\n' > /usr/bin/nosync && \
|
||||||
gcc \
|
gcc \
|
||||||
gcc-c++ \
|
gcc-c++ \
|
||||||
gcovr \
|
gcovr \
|
||||||
genisoimage \
|
|
||||||
gettext \
|
gettext \
|
||||||
git \
|
git \
|
||||||
glib2-devel \
|
glib2-devel \
|
||||||
|
@ -90,6 +89,7 @@ exec "$@"\n' > /usr/bin/nosync && \
|
||||||
make \
|
make \
|
||||||
mesa-libgbm-devel \
|
mesa-libgbm-devel \
|
||||||
meson \
|
meson \
|
||||||
|
mtools \
|
||||||
ncurses-devel \
|
ncurses-devel \
|
||||||
nettle-devel \
|
nettle-devel \
|
||||||
ninja-build \
|
ninja-build \
|
||||||
|
@ -128,6 +128,7 @@ exec "$@"\n' > /usr/bin/nosync && \
|
||||||
which \
|
which \
|
||||||
xen-devel \
|
xen-devel \
|
||||||
xfsprogs-devel \
|
xfsprogs-devel \
|
||||||
|
xorriso \
|
||||||
zlib-devel \
|
zlib-devel \
|
||||||
zlib-static \
|
zlib-static \
|
||||||
zstd && \
|
zstd && \
|
||||||
|
|
|
@ -81,7 +81,7 @@ RUN zypper update -y && \
|
||||||
lttng-ust-devel \
|
lttng-ust-devel \
|
||||||
lzo-devel \
|
lzo-devel \
|
||||||
make \
|
make \
|
||||||
mkisofs \
|
mtools \
|
||||||
ncat \
|
ncat \
|
||||||
ncurses-devel \
|
ncurses-devel \
|
||||||
ninja \
|
ninja \
|
||||||
|
@ -111,6 +111,7 @@ RUN zypper update -y && \
|
||||||
which \
|
which \
|
||||||
xen-devel \
|
xen-devel \
|
||||||
xfsprogs-devel \
|
xfsprogs-devel \
|
||||||
|
xorriso \
|
||||||
zlib-devel \
|
zlib-devel \
|
||||||
zlib-devel-static \
|
zlib-devel-static \
|
||||||
zstd && \
|
zstd && \
|
||||||
|
|
|
@ -28,7 +28,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
||||||
g++ \
|
g++ \
|
||||||
gcc \
|
gcc \
|
||||||
gcovr \
|
gcovr \
|
||||||
genisoimage \
|
|
||||||
gettext \
|
gettext \
|
||||||
git \
|
git \
|
||||||
hostname \
|
hostname \
|
||||||
|
@ -100,6 +99,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
||||||
llvm \
|
llvm \
|
||||||
locales \
|
locales \
|
||||||
make \
|
make \
|
||||||
|
mtools \
|
||||||
multipath-tools \
|
multipath-tools \
|
||||||
ncat \
|
ncat \
|
||||||
nettle-dev \
|
nettle-dev \
|
||||||
|
@ -126,6 +126,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
||||||
tesseract-ocr \
|
tesseract-ocr \
|
||||||
tesseract-ocr-eng \
|
tesseract-ocr-eng \
|
||||||
xfslibs-dev \
|
xfslibs-dev \
|
||||||
|
xorriso \
|
||||||
zlib1g-dev \
|
zlib1g-dev \
|
||||||
zstd && \
|
zstd && \
|
||||||
eatmydata apt-get autoremove -y && \
|
eatmydata apt-get autoremove -y && \
|
||||||
|
|
|
@ -28,7 +28,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
||||||
g++ \
|
g++ \
|
||||||
gcc \
|
gcc \
|
||||||
gcovr \
|
gcovr \
|
||||||
genisoimage \
|
|
||||||
gettext \
|
gettext \
|
||||||
git \
|
git \
|
||||||
hostname \
|
hostname \
|
||||||
|
@ -103,6 +102,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
||||||
locales \
|
locales \
|
||||||
make \
|
make \
|
||||||
meson \
|
meson \
|
||||||
|
mtools \
|
||||||
multipath-tools \
|
multipath-tools \
|
||||||
ncat \
|
ncat \
|
||||||
nettle-dev \
|
nettle-dev \
|
||||||
|
@ -127,6 +127,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
||||||
tesseract-ocr \
|
tesseract-ocr \
|
||||||
tesseract-ocr-eng \
|
tesseract-ocr-eng \
|
||||||
xfslibs-dev \
|
xfslibs-dev \
|
||||||
|
xorriso \
|
||||||
zlib1g-dev \
|
zlib1g-dev \
|
||||||
zstd && \
|
zstd && \
|
||||||
eatmydata apt-get autoremove -y && \
|
eatmydata apt-get autoremove -y && \
|
||||||
|
|
|
@ -26,7 +26,6 @@ packages:
|
||||||
- gcc
|
- gcc
|
||||||
- gcovr
|
- gcovr
|
||||||
- gettext
|
- gettext
|
||||||
- genisoimage
|
|
||||||
- glib2
|
- glib2
|
||||||
- glib2-native
|
- glib2-native
|
||||||
- glib2-static
|
- glib2-static
|
||||||
|
@ -73,6 +72,7 @@ packages:
|
||||||
- llvm
|
- llvm
|
||||||
- lttng-ust
|
- lttng-ust
|
||||||
- lzo
|
- lzo
|
||||||
|
- mtools
|
||||||
- netcat
|
- netcat
|
||||||
- nettle
|
- nettle
|
||||||
- ninja
|
- ninja
|
||||||
|
@ -116,6 +116,7 @@ packages:
|
||||||
- which
|
- which
|
||||||
- xen
|
- xen
|
||||||
- xfsprogs
|
- xfsprogs
|
||||||
|
- xorriso
|
||||||
- zstdtools
|
- zstdtools
|
||||||
- zlib
|
- zlib
|
||||||
- zlib-static
|
- zlib-static
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
static char isoimage[] = "cdrom-boot-iso-XXXXXX";
|
static char isoimage[] = "cdrom-boot-iso-XXXXXX";
|
||||||
|
|
||||||
static int exec_genisoimg(const char **args)
|
static int exec_xorrisofs(const char **args)
|
||||||
{
|
{
|
||||||
gchar *out_err = NULL;
|
gchar *out_err = NULL;
|
||||||
gint exit_status = -1;
|
gint exit_status = -1;
|
||||||
|
@ -43,7 +43,7 @@ static int prepare_image(const char *arch, char *isoimage)
|
||||||
char *codefile = NULL;
|
char *codefile = NULL;
|
||||||
int ifh, ret = -1;
|
int ifh, ret = -1;
|
||||||
const char *args[] = {
|
const char *args[] = {
|
||||||
"genisoimage", "-quiet", "-l", "-no-emul-boot",
|
"xorrisofs", "-quiet", "-l", "-no-emul-boot",
|
||||||
"-b", NULL, "-o", isoimage, srcdir, NULL
|
"-b", NULL, "-o", isoimage, srcdir, NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -75,9 +75,9 @@ static int prepare_image(const char *arch, char *isoimage)
|
||||||
}
|
}
|
||||||
|
|
||||||
args[5] = strchr(codefile, '/') + 1;
|
args[5] = strchr(codefile, '/') + 1;
|
||||||
ret = exec_genisoimg(args);
|
ret = exec_xorrisofs(args);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
fprintf(stderr, "genisoimage failed: %i\n", ret);
|
fprintf(stderr, "xorrisofs failed: %i\n", ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
unlink(codefile);
|
unlink(codefile);
|
||||||
|
@ -211,12 +211,12 @@ int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
const char *arch = qtest_get_arch();
|
const char *arch = qtest_get_arch();
|
||||||
const char *genisocheck[] = { "genisoimage", "-version", NULL };
|
const char *xorrisocheck[] = { "xorrisofs", "-version", NULL };
|
||||||
|
|
||||||
g_test_init(&argc, &argv, NULL);
|
g_test_init(&argc, &argv, NULL);
|
||||||
|
|
||||||
if (exec_genisoimg(genisocheck)) {
|
if (exec_xorrisofs(xorrisocheck)) {
|
||||||
/* genisoimage not available - so can't run tests */
|
/* xorrisofs not available - so can't run tests */
|
||||||
return g_test_run();
|
return g_test_run();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue