]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
ci(opensuse): remove the workaround to disable hostonly mode
authorJo Zzsi <jozzsicsataban@gmail.com>
Sun, 29 Dec 2024 15:38:57 +0000 (10:38 -0500)
committerLaszlo <laszlo.gombos@gmail.com>
Sun, 29 Dec 2024 15:49:25 +0000 (10:49 -0500)
Switch back to ext4 from btrfs for now to ensure first that
hostonly mode now works with openSUSE.

test/container/Dockerfile-opensuse

index 08fafaad0e3cd94866651ecc809bf3d096267a60..f4c6455321b6689876ad090329e0bb77c50a26e0 100644 (file)
@@ -6,9 +6,6 @@
 
 FROM registry.opensuse.org/opensuse/tumbleweed:latest
 
-# prefer running tests with btrfs
-ENV TEST_FSTYPE=btrfs
-
 # Install needed packages for the dracut CI container
 RUN zypper --non-interactive install --no-recommends \
     asciidoc \
@@ -54,7 +51,5 @@ RUN zypper --non-interactive install --no-recommends \
     util-linux-systemd \
     && zypper --non-interactive dist-upgrade --no-recommends && zypper --non-interactive clean
 
-# force non-hostonly mode, but keep all the other config
 RUN \
-  echo 'hostonly="no"' > /usr/lib/dracut/dracut.conf.d/02-dist.conf \
-  && cd / && git clone https://github.com/systemd/mkosi && ln -s /mkosi/bin/mkosi /usr/bin/mkosi && ln -s /mkosi/bin/mkosi-initrd /usr/bin/mkosi-initrd
+  cd / && git clone https://github.com/systemd/mkosi && ln -s /mkosi/bin/mkosi /usr/bin/mkosi && ln -s /mkosi/bin/mkosi-initrd /usr/bin/mkosi-initrd