]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
ci: pass the test on Fedora and openSUSE on arm64
authorJo Zzsi <jozzsicsataban@gmail.com>
Tue, 28 Jan 2025 15:26:45 +0000 (10:26 -0500)
committerLaszlo <laszlo.gombos@gmail.com>
Tue, 28 Jan 2025 17:44:38 +0000 (12:44 -0500)
increase timeout for finding sysroot
add workaround for finding kernel on openSUSE on arm64

These changes are required to pass the test on Fedora
and openSUSE on arm64.

.github/workflows/integration-extra-arm64.yml
test/TEST-43-KERNEL-INSTALL/test.sh
test/dracut.conf.d/test/test.conf

index a941d0ebb2351b22075bb384d22980e57ad1bf5d..2f25de183a39a7b538f029948d14c958cc597432 100644 (file)
@@ -30,11 +30,7 @@ jobs:
                     - ubuntu
                     - void
                 test:
-                    - "10"
-                    - "30"
                     - "43"
-                    - "80"
-                    - "81"
         container:
             image: ghcr.io/dracut-ng/${{ matrix.container }}:latest-arm
             options: '--privileged'
index 3922d776eaaf9659302d5668c1f6ae105d2c1c97..3f8228deabf02010240b0b5acb29a8957e5cdfdf 100755 (executable)
@@ -55,6 +55,9 @@ test_setup() {
     dd if=/dev/zero of="$TESTDIR"/root.img bs=200MiB count=1 status=none && sync
     mkfs.ext4 -q -L dracut -d "$TESTDIR"/dracut.*/initramfs/ "$TESTDIR"/root.img && sync
 
+    # workaround for openSUSE on arm64
+    [ -e /usr/lib/modules/"$KVERSION"/Image ] && ln -sf /usr/lib/modules/"$KVERSION"/Image /usr/lib/modules/"$KVERSION"/vmlinuz
+
     # workaround needed for Debian/Ubuntu based distros
     ! [ -e /usr/lib/modules/"$KVERSION"/vmlinuz ] && ln -sf /boot/vmlinuz /usr/lib/modules/"$KVERSION"/vmlinuz
     ! [ -e /usr/lib/modules/"$KVERSION"/vmlinuz ] && ln -sf /boot/vmlinuz-"$KVERSION" /usr/lib/modules/"$KVERSION"/vmlinuz
index 6c2a94761bf4b986ad25dbeae927817c46090b62..58fa42f663e488a50eebabe2878f97b3d238d776 100644 (file)
@@ -5,5 +5,5 @@ do_hardlink="no"
 early_microcode="no"
 hostonly_cmdline="no"
 
-# systemd on arm64 on GitHub CI needs the 60 sec timeout
-kernel_cmdline=" rd.retry=10 rd.timeout=60 rd.info rd.shell=0 "
+# systemd on arm64 on GitHub CI needs the 2 min timeout
+kernel_cmdline=" rd.retry=10 rd.timeout=120 rd.info rd.shell=0 "