2009-08-07 Robert Millan <rmh.grub@aybabtu.com>
* util/grub.d/10_linux.in (test_numeric): Moved from here ...
* util/grub-mkconfig_lib.in (version_test_numeric): ... to here.
Update all users.
* util/grub.d/10_linux.in (test_gt): Strip any basename prefix,
not just "vmlinu[zx]".
Moved from here ...
* util/grub-mkconfig_lib.in (version_test_gt): ... to here. Update
all users.
* util/grub.d/10_linux.in (find_latest): Moved from here ...
* util/grub-mkconfig_lib.in (version_find_latest): ... to here. Update
all users.
+2009-08-07 Robert Millan <rmh.grub@aybabtu.com>
+
+ * util/grub.d/10_linux.in (test_numeric): Moved from here ...
+ * util/grub-mkconfig_lib.in (version_test_numeric): ... to here.
+ Update all users.
+
+ * util/grub.d/10_linux.in (test_gt): Strip any basename prefix,
+ not just "vmlinu[zx]".
+ Moved from here ...
+ * util/grub-mkconfig_lib.in (version_test_gt): ... to here. Update
+ all users.
+
+ * util/grub.d/10_linux.in (find_latest): Moved from here ...
+ * util/grub-mkconfig_lib.in (version_find_latest): ... to here. Update
+ all users.
+
2009-08-07 Robert Millan <rmh.grub@aybabtu.com>
* util/grub.d/10_freebsd.in: Use an absolute device path for
test_gt ()
{
- local a=`echo $1 | sed -e "s/vmlinu[zx]-//g"`
- local b=`echo $2 | sed -e "s/vmlinu[zx]-//g"`
+ local a=`echo $1 | sed -e "s/[^-]*-//g"`
+ local b=`echo $2 | sed -e "s/[^-]*-//g"`
local cmp=gt
if [ "x$b" = "x" ] ; then
return 0