(Fwd) Re: grub2-mkconfig with 3.2.10 kernels?

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

 



This an addition to the earlier solution that I had mentioned about 
the grub-mkconfig issue with sorting issue, but here seems to be 
the solution in the process. 

Did remove a lot of the header lines from the list.
------- Forwarded message follows -------
From: Jordan Uggla <jordan.uggla@xxxxxxxxx>
Date: Mon, 19 Mar 2012 13:30:10 -0700
Subject: Re: grub2-mkconfig with 3.2.10 kernels?

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

_______________________________________________
Help-grub mailing list
Help-grub@xxxxxxx
https://lists.gnu.org/mailman/listinfo/help-grub
------- End of forwarded message -------

+----------------------------------------------------------+
  Michael D. Setzer II -  Computer Science Instructor      
  Guam Community College  Computer Center                  
  mailto:mikes@xxxxxxxxxxxxxxxx                            
  mailto:msetzerii@xxxxxxxxx
  http://www.guam.net/home/mikes
  Guam - Where America's Day Begins                        
  G4L Disk Imaging Project maintainer 
  http://sourceforge.net/projects/g4l/
+----------------------------------------------------------+

http://setiathome.berkeley.edu (Original)
Number of Seti Units Returned:  19,471
Processing time:  32 years, 290 days, 12 hours, 58 minutes
(Total Hours: 287,489)

BOINC@HOME CREDITS
SETI        11952853.535440   |   EINSTEIN     7526408.719852
ROSETTA      4328655.752081   |   ABC         11789983.901504

Attachment: WPM$9GJ4.PM$
Description: Mail message body

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux