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.
- ubuntu
- void
test:
- - "10"
- - "30"
- "43"
- - "80"
- - "81"
container:
image: ghcr.io/dracut-ng/${{ matrix.container }}:latest-arm
options: '--privileged'
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
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 "