SHA256
1
0
forked from pool/grub2

Accepting request 1108332 from openSUSE:Factory:RISCV

- grub2-mkconfig-riscv64.patch: Handle riscv64 in mkconfig

OBS-URL: https://build.opensuse.org/request/show/1108332
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=459
This commit is contained in:
Michael Chang 2023-09-04 04:46:02 +00:00 committed by Git OBS Bridge
parent 8ee92f5194
commit 71f10698a2
3 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,12 @@
Index: grub-2.04/util/grub.d/10_linux.in
===================================================================
--- grub-2.04.orig/util/grub.d/10_linux.in
+++ grub-2.04/util/grub.d/10_linux.in
@@ -216,6 +216,7 @@ 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-*" ;;
*) klist="/boot/vmlinuz-* /boot/vmlinux-* /vmlinuz-* /vmlinux-* \
/boot/kernel-*" ;;

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Aug 31 19:09:33 UTC 2023 - Andreas Schwab <schwab@suse.de>
- grub2-mkconfig-riscv64.patch: Handle riscv64 in mkconfig
-------------------------------------------------------------------
Wed Aug 16 06:59:35 UTC 2023 - Gary Ching-Pang Lin <glin@suse.com>

View File

@ -373,6 +373,7 @@ Patch185: 0001-protectors-Implement-NV-index.patch
Patch186: 0002-cryptodisk-Fallback-to-passphrase.patch
Patch187: 0003-cryptodisk-wipe-out-the-cached-keys-from-protectors.patch
Patch188: 0004-diskfilter-look-up-cryptodisk-devices-first.patch
Patch189: grub2-mkconfig-riscv64.patch
Requires: gettext-runtime
%if 0%{?suse_version} >= 1140