From cce3ba858ae2aab998443efa31497baee93352d3 Mon Sep 17 00:00:00 2001 From: Jo Zzsi Date: Wed, 23 Apr 2025 11:57:49 -0400 Subject: [PATCH] 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. --- test/container/Dockerfile-opensuse | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.47.3