]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
test: the Linux kernel is named kernel- in Gentoo container
authorLaszlo Gombos <laszlo.gombos@gmail.com>
Sun, 7 Apr 2024 15:46:08 +0000 (11:46 -0400)
committerNeal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
Sun, 7 Apr 2024 16:43:37 +0000 (12:43 -0400)
test/run-qemu

index 41d458aabb9cd3ad81c2168dc671f628c4762cf7..0717aae6ca6659e184418fa34ff2dfdbd432a08a 100755 (executable)
@@ -58,6 +58,8 @@ if ! [ -f "$VMLINUZ" ]; then
         VMLINUZ="/boot/vmlinuz-${KVERSION}"
     elif [ -f "/boot/vmlinux-${KVERSION}" ]; then
         VMLINUZ="/boot/vmlinux-${KVERSION}"
+    elif [ -f "/boot/kernel-${KVERSION}" ]; then
+        VMLINUZ="/boot/kernel-${KVERSION}"
     else
         echo "Could not find a Linux kernel version $KVERSION to test with!" >&2
         echo "Please install linux." >&2