Accepting request 249503 from home:Andreas_Schwab:Factory

- 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
This commit is contained in:
Michael Chang 2014-09-16 09:34:50 +00:00 committed by Git OBS Bridge
parent af4e19f8ee
commit 292a009a62
3 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,17 @@
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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Sep 16 07:08:18 UTC 2014 - schwab@suse.de
- grub2-mkconfig-aarch64.patch: Look for Image-* instead of vmlinuz-* on
aarch64
-------------------------------------------------------------------
Mon Sep 15 15:30:03 UTC 2014 - arvidjaar@gmail.com

View File

@ -150,6 +150,7 @@ Patch39: grub2-use-rpmsort-for-version-sorting.patch
Patch40: aarch64-reloc.patch
Patch41: grub2-vbe-blacklist-preferred-1440x900x32.patch
Patch42: grub2-btrfs-fix-incorrect-address-reference.patch
Patch43: grub2-mkconfig-aarch64.patch
# Btrfs snapshot booting related patches
Patch101: grub2-btrfs-01-add-ability-to-boot-from-subvolumes.patch
Patch102: grub2-btrfs-02-export-subvolume-envvars.patch
@ -353,6 +354,7 @@ mv po/grub.pot po/%{name}.pot
%patch40 -p1
%patch41 -p1
%patch42 -p1
%patch43 -p1
%patch101 -p1
%patch102 -p1
%patch103 -p1