Bug#464086: grub-pc: update-grub should sort rc kernels after released kernels

Robert Millan rmh at aybabtu.com
Tue Feb 5 22:17:19 UTC 2008


On Tue, Feb 05, 2008 at 01:40:06AM +0000, Sam Morris wrote:
> Package: grub-pc
> Version: 1.96+20080203-1
> Severity: minor
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I noticed a minor regression in grub-pc's update-grub command compared
> to the one shipped by grub. In my menu.lst, the entries are arranged in
> the following order:
> 
>  Debian GNU/Linux, kernel 2.6.24-1-686
>  Debian GNU/Linux, kernel 2.6.24-rc8-686
>  Debian GNU/Linux, kernel 2.6.23-1-686
>  Debian GNU/Linux, kernel 2.6.22-3-k7
>  Debian GNU/Linux, kernel 2.6.22-3-486
> 
> But in grub.cfg, they are arranged as follows:
> 
>  Debian GNU/Linux, linux 2.6.24-rc8-686
>  Debian GNU/Linux, linux 2.6.24-1-686
>  Debian GNU/Linux, linux 2.6.23-1-686
>  Debian GNU/Linux, linux 2.6.22-3-k7
>  Debian GNU/Linux, linux 2.6.22-3-486
> 
> It would be nice if the final, released image of 2.6.24 was above the
> rc8 image.

Please can you define the sorting rules you think should apply and report that
to grub-devel ?

GRUB Legacy's update-grub can be useful as reference, but 100% compatibility
is not mandatory.

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call… if you are unable to speak?
(as seen on /.)





More information about the Pkg-grub-devel mailing list