Bug 1287876 - RFE: teach grub2-mkconfig to optionally respect RPM install order
Summary: RFE: teach grub2-mkconfig to optionally respect RPM install order
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: grub2
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Javier Martinez Canillas
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-02 22:00 UTC by Andy Lutomirski
Modified: 2021-06-10 12:30 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-06-10 12:30:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Andy Lutomirski 2015-12-02 22:00:47 UTC
Currently grub2-mkconfig (actually /etc/grub.d/10_linux AFAICT) adds boot entries in lexicographic order.  I personally like this, but some poeple don't.

For Fedora systems, it might be nice to have an option (in /etc/default/grub, presumably) to stick all the RPM-provided images either first or last and to sort them from most-recently-installed to least-recently-installed.

rpm -qf --queryformat='%{installdate}' could be used for this purpose.

Comment 1 Javier Martinez Canillas 2020-01-28 13:09:05 UTC
This is already the case with a BLS configuration, since the blscfg module sorts the entries using the same sorting algorithm that is used by RPM.

Comment 2 Fedora Admin user for bugzilla script actions 2021-05-07 00:36:08 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 3 Javier Martinez Canillas 2021-06-10 12:30:11 UTC
(In reply to Javier Martinez Canillas from comment #1)
> This is already the case with a BLS configuration, since the blscfg module
> sorts the entries using the same sorting algorithm that is used by RPM.

Closing since AFAICT this should already be the case now that the BLS configuration
is used by default. If there are any issues please feel free to file another bug.


Note You need to log in before you can comment on or make changes to this bug.