From: Jo Zzsi Date: Wed, 23 Apr 2025 15:57:49 +0000 (-0400) Subject: ci(opensuse): enable strict hostonly X-Git-Tag: 107~13 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cce3ba8;p=thirdparty%2Fdracut-ng.git ci(opensuse): enable strict hostonly As the the strict and non-strict (a.k.a. sloppy) hostonly configurations are significantly different, the CI should have test covergae for both. Enable strict hostonly for the openSUSE container. --- diff --git a/test/container/Dockerfile-opensuse b/test/container/Dockerfile-opensuse index 11ba6757f..2eb04591c 100644 --- a/test/container/Dockerfile-opensuse +++ b/test/container/Dockerfile-opensuse @@ -1,6 +1,6 @@ # Test coverage provided by this container: # - arm64 -# - default hostonly +# - strict hostonly # - network-legacy # - mkosi-initrd # - hmaccalc (fido) @@ -58,6 +58,8 @@ RUN zypper --non-interactive install --no-recommends \ && zypper --non-interactive dist-upgrade --no-recommends # workaround for openSUSE on arm64 +# force strict hostonly mode to increase test coverage RUN \ + echo 'hostonly_mode="strict"' > /usr/lib/dracut/dracut.conf.d/02-dist.conf \ KVERSION="$(cd /lib/modules && ls -1 | tail -1)" \ && if [ "$(arch)"="aarch64" ] && [ -e /usr/lib/modules/"$KVERSION"/Image ]; then ln -sf /usr/lib/modules/"$KVERSION"/Image /usr/lib/modules/"$KVERSION"/vmlinuz; fi