From 0c04cb8ee1b85a03d40e4fe626808f590f125f9b Mon Sep 17 00:00:00 2001
From: Qiumiao Zhang <zhangqiumiao1@huawei.com>
Date: Thu, 7 Mar 2024 02:35:25 +0000
Subject: [PATCH] modify klist in 10_linux.in

---
 util/grub.d/10_linux.in | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/util/grub.d/10_linux.in b/util/grub.d/10_linux.in
index 5531239..ae487a7 100644
--- a/util/grub.d/10_linux.in
+++ b/util/grub.d/10_linux.in
@@ -202,10 +202,10 @@ EOF
 machine=`uname -m`
 case "x$machine" in
     xi?86 | xx86_64) klist="/boot/vmlinuz-* /vmlinuz-* /boot/kernel-*" ;;
-    xaarch64) klist="/boot/Image-* /Image-* /boot/kernel-*" ;;
-    xarm*) klist="/boot/zImage-* /zImage-* /boot/kernel-*" ;;
-    xriscv64) klist="/boot/Image-* /Image-* /boot/kernel-*" ;;
-    xs390 | xs390x)  klist="/boot/image-* /boot/kernel-*" ;;
+    xaarch64) klist="/boot/vmlinuz-* /vmlinuz-* /boot/kernel-*" ;;
+    xarm*) klist="/boot/vmlinuz-* /vmlinuz-* /boot/kernel-*" ;;
+    xriscv64) klist="/boot/vmlinuz-* /vmlinuz-* /boot/kernel-*" ;;
+    xs390 | xs390x)  klist="/boot/vmlinuz-* /boot/kernel-*" ;;
     *) klist="/boot/vmlinuz-* /boot/vmlinux-* /vmlinuz-* /vmlinux-* \
 		/boot/kernel-*" ;;
 esac
-- 
2.33.0

