forked from pool/grub2
59b23940a2
1 OBS-URL: https://build.opensuse.org/request/show/249867 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=100
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
|