grub2/grub2-mkconfig-riscv64.patch
2023-09-04 04:46:02 +00:00

13 lines
651 B
Diff

Index: grub-2.04/util/grub.d/10_linux.in
===================================================================
--- grub-2.04.orig/util/grub.d/10_linux.in
+++ grub-2.04/util/grub.d/10_linux.in
@@ -216,6 +216,7 @@ case "x$machine" in
xi?86 | xx86_64) klist="/boot/vmlinuz-* /vmlinuz-* /boot/kernel-*" ;;
xaarch64) klist="/boot/Image-* /Image-* /boot/kernel-*" ;;
xarm*) klist="/boot/zImage-* /zImage-* /boot/kernel-*" ;;
+ xriscv64) klist="/boot/Image-* /Image-* /boot/kernel-*" ;;
xs390 | xs390x) klist="/boot/image-* /boot/kernel-*" ;;
*) klist="/boot/vmlinuz-* /boot/vmlinux-* /vmlinuz-* /vmlinux-* \
/boot/kernel-*" ;;