]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
ci: remove native dracut installation from the test containers
authorLaszlo Gombos <laszlo.gombos@gmail.com>
Sun, 27 Nov 2022 04:08:58 +0000 (04:08 +0000)
committerAntonio Álvarez Feijoo <antonio.feijoo@suse.com>
Mon, 5 Dec 2022 14:43:08 +0000 (15:43 +0100)
The installed packaged dracut version from a distributions can
interfere with testing latest dracut from source, which is the
primary goal of these containers.

test/container/Dockerfile-Fedora-latest
test/container/Dockerfile-OpenSuse-latest

index ef29a3ffa50f7c6301d07a03b308eafa32d7ebaf..0fe9338f7b4d2ee0b97d4dbc81893366211d7471 100644 (file)
@@ -51,7 +51,7 @@ RUN dnf -y install --setopt=install_weak_deps=False \
     shfmt \
     parted \
     ntfsprogs \
-    && dnf -y update && dnf clean all
+    && dnf -y remove dracut && dnf -y update && dnf clean all
 
 # Set default command
 CMD ["/usr/bin/bash"]
index 3b396a7b1cf86c1e2e645456ad2ed4e1c1e88513..20259e3967f36eb850537e596d9773b32eb0d6a5 100644 (file)
@@ -14,7 +14,7 @@ RUN dnf -y install --setopt=install_weak_deps=False \
     sudo kernel dhcp-client qemu-kvm /usr/bin/qemu-system-$(uname -m) e2fsprogs \
     tcpdump iproute iputils kbd NetworkManager btrfsprogs tgt dbus-broker \
     iscsiuio open-iscsi which ShellCheck procps pigz parted squashfs ntfsprogs \
-    && dnf -y update && dnf clean all
+    && dnf -y remove dracut && dnf -y update && dnf clean all
 
 RUN shfmt_version=3.2.4; wget "https://github.com/mvdan/sh/releases/download/v${shfmt_version}/shfmt_v${shfmt_version}_linux_amd64" -O /usr/local/bin/shfmt \
     && chmod +x /usr/local/bin/shfmt