]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
ci(Debian): remove dmraid in preparation for next Debian release
authorJo Zzsi <jozzsicsataban@gmail.com>
Sun, 25 Aug 2024 12:35:36 +0000 (08:35 -0400)
committerNeal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
Wed, 28 Aug 2024 12:00:59 +0000 (08:00 -0400)
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056944

test/TEST-14-IMSM/test.sh
test/container/Dockerfile-Debian

index cd8521cf111c7fdbe393d4137f5be2ccd8918c41..e7dce56493b5a8e7ead613474f0dfae55300515c 100755 (executable)
@@ -6,6 +6,10 @@ TEST_DESCRIPTION="root filesystem on LVM PV on a isw dmraid"
 #DEBUGFAIL="rd.shell"
 #DEBUGFAIL="$DEBUGFAIL udev.log-priority=debug"
 
+test_check() {
+    command -v dmraid &> /dev/null
+}
+
 client_run() {
     echo "CLIENT TEST START: $*"
 
index e96b2d8d4ab8d996e680e78e349267bc7b2e830e..7fe49358ce6218e92dba76cee3f1d843f35e3a01 100644 (file)
@@ -1,8 +1,10 @@
 FROM docker.io/debian:latest
 
+# dmraid is no longer installed
+# see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056944
+
 # Install needed packages for the dracut CI container
 # Install dracut as a linux-initramfs-tool provider so that the default initramfs-tool package does not get installed
-# Uninstall initramfs-tools-core as a workaround for https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=994492
 RUN apt-get update -y -qq && apt-get upgrade -y -qq && apt-get install -y -qq --no-install-recommends dracut && \
     DEBIAN_FRONTEND=noninteractive apt-get install -y -qq --no-install-recommends -o Dpkg::Use-Pty=0 \
     asciidoc \
@@ -17,7 +19,6 @@ RUN apt-get update -y -qq && apt-get upgrade -y -qq && apt-get install -y -qq --
     cpio \
     cryptsetup \
     curl \
-    dmraid \
     docbook \
     docbook-xml \
     docbook-xsl \
@@ -33,7 +34,6 @@ RUN apt-get update -y -qq && apt-get upgrade -y -qq && apt-get install -y -qq --
     iscsiuio \
     kmod \
     less \
-    libdmraid-dev \
     libkmod-dev \
     linux-image-generic \
     lvm2 \