Fedora provides CI coverage for strict hostonly.
# Test coverage provided by this container:
# - arm64
-# - default hostonly
+# - strict hostonly
# - xfs
# - memstrack
# - ndctl (for nvdimm)
# Test coverage provided by this container:
# - arm64
-# - strict hostonly
+# - hostonly
# - network-legacy
# - mkosi-initrd
# - hmaccalc (fido)
&& 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