]> git.proxmox.com Git - grub2.git/commitdiff
2007-08-05 Robert Millan <rmh@aybabtu.com>
authorrobertmh <robertmh@localhost>
Sun, 5 Aug 2007 10:33:58 +0000 (10:33 +0000)
committerrobertmh <robertmh@localhost>
Sun, 5 Aug 2007 10:33:58 +0000 (10:33 +0000)
* util/grub.d/10_linux.in (test_gt): Strip out vmlinu[xz]- prefix
so that [xz] isn't taken into account when determining order.

ChangeLog
util/grub.d/10_linux.in

index e8f2cd687a01cd989f54d5974b40edef4c1212a4..2a39982b0d1874724b959f3fa905dd1694650db2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-08-05  Robert Millan  <rmh@aybabtu.com>
+
+       * util/grub.d/10_linux.in (test_gt): Strip out vmlinu[xz]- prefix
+       so that [xz] isn't taken into account when determining order.
+
 2007-08-02  Marco Gerards  <marco@gnu.org>
 
        * DISTLIST: Add `disk/host.c', `fs/ntfs.c', `include/multiboot.h',
index 9ce34454c3469fbfa89c586f617bd0e5dfaca098..9a302a10b4a919ad80dacfe7622e51661bfed6c4 100644 (file)
@@ -47,8 +47,8 @@ test_numeric ()
 
 test_gt ()
 {
-  local a=$1
-  local b=$2
+  local a=`echo $1 | sed -e "s/vmlinu[zx]-//g"`
+  local b=`echo $2 | sed -e "s/vmlinu[zx]-//g"`
   local cmp=gt
   if [ "x$b" = "x" ] ; then
     return 0