]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
ci(centos): remove workaround for centos
authorJo Zzsi <jozzsicsataban@gmail.com>
Thu, 26 Dec 2024 15:39:29 +0000 (10:39 -0500)
committerLaszlo <laszlo.gombos@gmail.com>
Thu, 26 Dec 2024 16:09:03 +0000 (11:09 -0500)
Follow-up to e78963f .

Workaround is no longer needed after 23ef35d .

test/container/Dockerfile-fedora

index 37d5ee62ddbf8a9ecbe9d80995a7cdf5783e166a..afafe726ea79b905b852d81e3cd8d92ef762b300 100644 (file)
@@ -87,13 +87,10 @@ RUN dnf -y install --setopt=install_weak_deps=False \
     && dnf -y update && dnf clean all
 
 # CentOS Stream ships only qemu-kvm, but it disables the KVM accel when it's not available
-# force non-hostonly mode, but keep all the other config
-# this workaround is needed to pass crypt tests with rd.auto
 RUN \
 if [[ "${DISTRIBUTION}" =~ "centos:" ]]; then \
     [[ -e /usr/bin/qemu-kvm ]] || ln -sf /usr/libexec/qemu-kvm /usr/bin/qemu-kvm ;\
     [[ -e /usr/bin/qemu-system-$(uname -m) ]] || ln -sv /usr/libexec/qemu-kvm /usr/bin/qemu-system-$(uname -m) ;\
-    echo 'hostonly="no"' > /usr/lib/dracut/dracut.conf.d/02-dist.conf ;\
     update-crypto-policies --no-reload --set FIPS ;\
 else \
     fips-mode-setup --enable ;\