grub2-mkconfig with 3.2.10 kernels?

Gilboa Davara gilboad at gmail.com
Mon Mar 19 09:19:36 UTC 2012


On Sun, Mar 18, 2012 at 5:00 PM, Michael D. Setzer II
<mikes at kuentos.guam.net> wrote:
> Just did an update and it included a new kernel, but then on
> reboot after running grub2-mkconfig noticed that the newest one
> was not first. Seems to be sorting the 9 before the 10?
>
> Is this a bug?
> I use the default="0", so this makes it not use the latest?

Looks like a bug in mkconfig's sorting code. [1]
Simply replace sort -n (numerical) with sort -V (version) in
grub-mkconfig_lib (patch attach, run from "/", use at your own risk,
may eat your children, etc)
I've reported it in bugzilla [2].

- Gilboa
[1] http://lists.gnu.org/archive/html/grub-devel/2012-03/msg00159.html
[2] https://bugzilla.redhat.com/show_bug.cgi?id=804558
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grub-mkconfig_lib.patch
Type: text/x-patch
Size: 381 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20120319/122c4b9c/attachment.bin>


More information about the users mailing list