From: Laszlo Gombos Date: Mon, 5 Dec 2022 15:54:07 +0000 (+0000) Subject: ci: add dmraid to Debian and Gentoo container to run test 14 X-Git-Tag: 058~39 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4797c5b9e9db29433d3807d78da1fcaf7081b56b;p=thirdparty%2Fdracut.git ci: add dmraid to Debian and Gentoo container to run test 14 --- diff --git a/test/container/Dockerfile-Debian b/test/container/Dockerfile-Debian index a2fb1657d..cb6dda7ff 100644 --- a/test/container/Dockerfile-Debian +++ b/test/container/Dockerfile-Debian @@ -34,6 +34,7 @@ RUN apt-get update -y -qq && apt-get upgrade -y -qq && DEBIAN_FRONTEND=nonintera isc-dhcp-server \ kmod \ less \ + libdmraid-dev \ libkmod-dev \ linux-image-generic \ lvm2 \ @@ -60,5 +61,13 @@ RUN apt-get update -y -qq && apt-get upgrade -y -qq && DEBIAN_FRONTEND=nonintera wget \ && apt-get clean +# workaround for https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=962300 +RUN DEBIAN_FRONTEND=noninteractive apt-get download dmraid \ + && DEBIAN_FRONTEND=noninteractive dpkg --unpack dmraid*.deb \ + && rm -rf /var/lib/dpkg/info/dmraid.postinst -f \ + && DEBIAN_FRONTEND=noninteractive dpkg --configure dmraid \ + && apt-get install -yf \ + && apt-get clean + # Set default command CMD ["/usr/bin/bash"] diff --git a/test/container/Dockerfile-Gentoo b/test/container/Dockerfile-Gentoo index deee15f67..e81375f68 100644 --- a/test/container/Dockerfile-Gentoo +++ b/test/container/Dockerfile-Gentoo @@ -28,6 +28,7 @@ RUN emerge -qv \ sys-apps/busybox \ sys-block/parted \ sys-fs/btrfs-progs \ + sys-fs/dmraid \ sys-fs/lvm2 \ sys-fs/ntfs3g \ sys-fs/squashfs-tools \