Incorrect ordering of kernels in grub.cfg generated by grub-mkconfig
| Task Info (Flyspray) | |
|---|---|
| Opened By | Xavier D. (magicrhesus) |
| Task ID | 28081 |
| Type | Bug Report |
| Project | Arch Linux |
| Category | Packages: Core |
| Version | None |
| OS | All |
| Opened | 2012-01-24 13:05:10 UTC |
| Status | Assigned |
| Assignee | Christian Hesse (eworm) |
Details
Description:
The detection order is not correct. If you have linux-lts & linux installed, linux-lts is detected as more recent than linux.
Additional info:
- package version(s)
- config and/or log files etc.
Package version: grub2-common 1:1.99-6
Steps to reproduce:
Install linux & linux-lts package, run grub-mkconfig.
Attached a patch which permits to detect them in the correct order (inspired from one of the Fedora bugtracker)