Bug#264312: Bug #264312: grub: update-grub does not sort kernels correctly

Chris Hanson cph at debian.org
Wed Nov 23 06:00:40 UTC 2005


This bug has been exacerbated by the new kernel naming convention.

    Found kernel: /boot/vmlinuz-2.6.14-cph3
    Found kernel: /boot/vmlinuz-2.6.14-cph2
    Found kernel: /boot/vmlinuz-2.6.14.2-cph1
    Found kernel: /boot/vmlinuz-2.6.13.4-cph1

where the 2.6.14.2 kernel should come first.  Obviously, this is
partially my own fault, for using a suffix that starts with "-", but
the sorting algorithm should probably try to identify the "standard"
part of the kernel version (3 or 4 numerical values separated by
dots) and treat it specially.




More information about the Pkg-grub-devel mailing list