help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: grub2-mkconfig with 3.2.10 kernels?


From: Jordan Uggla
Subject: Re: grub2-mkconfig with 3.2.10 kernels?
Date: Mon, 19 Mar 2012 13:30:10 -0700

On Sun, Mar 18, 2012 at 2:50 PM, Michael D. Setzer II
<address@hidden> 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?

It was a bug (a simple typo), and has been fixed in bzr trunk. The
patch which fixes it is below.

-- 
Jordan Uggla (Jordan_U on irc.freenode.net)

=== modified file 'util/grub-mkconfig_lib.in'
--- util/grub-mkconfig_lib.in   2012-03-04 22:13:16 +0000
+++ util/grub-mkconfig_lib.in   2012-03-19 15:27:59 +0000
@@ -193,7 +193,7 @@
     no)
       LC_ALL=C sort -n;;
     *)
-      if sort -v </dev/null > /dev/null 2>&1; then
+      if sort -V </dev/null > /dev/null 2>&1; then
         version_sort_sort_has_v=yes
        LC_ALL=C sort -V
       else



reply via email to

[Prev in Thread] Current Thread [Next in Thread]