From 0ac4c4bd96a82a44b62b6885eb13d95845a78931 Mon Sep 17 00:00:00 2001 From: proski Date: Mon, 29 Jun 2009 02:59:53 +0000 Subject: [PATCH] 2009-06-28 Pavel Roskin * util/grub.d/10_linux.in: Match SUSE style initrd names. git-svn-id: svn+ssh://svn.savannah.gnu.org/grub/trunk/grub2@2370 d0de0278-0dc1-4c01-8a07-af38b3205e46 --- ChangeLog | 4 ++++ util/grub.d/10_linux.in | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c1814fac..c29d28e5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-06-28 Pavel Roskin + + * util/grub.d/10_linux.in: Match SUSE style initrd names. + 2009-06-27 Robert Millan * loader/i386/linux.c (grub_linux_boot): Fix uninitialized use of diff --git a/util/grub.d/10_linux.in b/util/grub.d/10_linux.in index e36b5b00..3d130609 100644 --- a/util/grub.d/10_linux.in +++ b/util/grub.d/10_linux.in @@ -128,7 +128,8 @@ while [ "x$list" != "x" ] ; do initrd= for i in "initrd.img-${version}" "initrd-${version}.img" \ - "initrd.img-${alt_version}" "initrd-${alt_version}.img"; do + "initrd-${version}" "initrd.img-${alt_version}" \ + "initrd-${alt_version}.img" "initrd-${alt_version}"; do if test -e "${dirname}/${i}" ; then initrd="$i" break -- 2.11.4.GIT