Bug#374371: update-grub fix

Jason Rhinelander jason at imaginary.ca
Mon Feb 5 18:25:19 CET 2007


I tracked this down and created a patch to fix it.  update-grub converts
filenames with x.y.z versions in them to x.y.z.0, but the sed regex was
only matching when something follows the z--so /boot/vmlinuz-x.y.z-foo
and /boot/vmlinuz-x.y.z.a would work, but /boot/vmlinuz-x.y.z would end
up coming before the -rc versions (or -pre or any of the other special
suffixes update-grub knows about).

The attached patch to lets the x.y.z -> x.y.z.0 conversion also happen
when "z" is at the end of the filename.


-- 
-- Jason Rhinelander
-------------- next part --------------
A non-text attachment was scrubbed...
Name: update-grub-three-digit-no-suffix-fix.patch
Type: text/x-patch
Size: 880 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20070205/cd193b06/update-grub-three-digit-no-suffix-fix.bin


More information about the Pkg-grub-devel mailing list