forked from pool/grub2
18 lines
813 B
Diff
18 lines
813 B
Diff
|
grub-mkonfig: Look for Image-* on aarch64
|
||
|
|
||
|
Index: grub-2.02~beta2/util/grub.d/10_linux.in
|
||
|
===================================================================
|
||
|
--- grub-2.02~beta2.orig/util/grub.d/10_linux.in
|
||
|
+++ grub-2.02~beta2/util/grub.d/10_linux.in
|
||
|
@@ -168,6 +168,10 @@ case "x$machine" in
|
||
|
list=`for i in /boot/vmlinuz-* /vmlinuz-* /boot/kernel-* ; do
|
||
|
if grub_file_is_not_garbage "$i" ; then echo -n "$i " ; fi
|
||
|
done` ;;
|
||
|
+ xaarch64)
|
||
|
+ list=`for i in /boot/Image-* /Image-* /boot/kernel-* ; do
|
||
|
+ if grub_file_is_not_garbage "$i" ; then echo -n "$i " ; fi
|
||
|
+ done` ;;
|
||
|
*)
|
||
|
list=`for i in /boot/vmlinuz-* /boot/vmlinux-* /vmlinuz-* /vmlinux-* /boot/kernel-* ; do
|
||
|
if grub_file_is_not_garbage "$i" ; then echo -n "$i " ; fi
|