forked from pool/grub2
Dirk Mueller
98fc6f4774
by malformed patch rediffing OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=153
15 lines
604 B
Diff
15 lines
604 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
|
|
@@ -190,6 +190,7 @@ EOF
|
|
machine=`uname -m`
|
|
case "$machine" in
|
|
i?86 | x86_64) klist="/boot/vmlinuz-* /vmlinuz-* /boot/kernel-*" ;;
|
|
+ aarch64) klist="/boot/Image-* /Image-* /boot/kernel-*" ;;
|
|
s390 | s390x) klist="/boot/image-* /boot/kernel-*" ;;
|
|
*) klist="/boot/vmlinuz-* /boot/vmlinux-* /vmlinuz-* /vmlinux-* \
|
|
/boot/kernel-*" ;;
|