grub2/grub2-mkconfig-aarch64.patch

13 lines
458 B
Diff
Raw Normal View History

grub-mkonfig: Look for Image-* on aarch64
--- a/util/grub.d/10_linux.in
+++ b/util/grub.d/10_linux.in
@@ -194,6 +194,7 @@
machine=`uname -m`
case "x$machine" in
xi?86 | xx86_64) klist="/boot/vmlinuz-* /vmlinuz-* /boot/kernel-*" ;;
+ xaarch64) klist="/boot/Image-* /Image-* /boot/kernel-*" ;;
xs390 | xs390x) klist="/boot/image-* /boot/kernel-*" ;;
*) klist="/boot/vmlinuz-* /boot/vmlinux-* /vmlinuz-* /vmlinux-* \
/boot/kernel-*" ;;