forked from pool/grub2
292a009a62
- grub2-mkconfig-aarch64.patch: Look for Image-* instead of vmlinuz-* on aarch64 OBS-URL: https://build.opensuse.org/request/show/249503 OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=114
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
|