Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#65340 - [grub] Source files in /etc/default/grub.d

Attached to Project: Arch Linux
Opened by notaspamaccount123 (notaspamaccount123) - Friday, 31 January 2020, 19:56 GMT
Last edited by Doug Newgard (Scimmia) - Saturday, 08 February 2020, 14:09 GMT
Task Type Feature Request
Category Packages: Core
Status Assigned
Assigned To Ronald van Haren (pressh)
Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No



Arch has a default GRUB configuration in /etc/default/grub but sometimes minor changes need to be made (e.g. adding a boot parameter) so it would be great if /etc/default/grub sourced /etc/default/grub.d/*.

This allows packages to create drop-in config files to add whatever they need without needing to overwrite the main config file.

Other distributions such as Debian have this by default.

Additional info:
* package version(s):
any GRUB version
* config and/or log files:
This task depends upon

Comment by Doug Newgard (Scimmia) - Wednesday, 05 February 2020, 13:38 GMT
Just what do you see it being used for that isn't already covered by .pacnew files?
Comment by notaspamaccount123 (notaspamaccount123) - Wednesday, 05 February 2020, 22:01 GMT
So the package doesn't overwrite any custom user configuration and just adds what it needs.
Comment by Doug Newgard (Scimmia) - Thursday, 06 February 2020, 01:02 GMT
The package never overwrites custom user configs. That's the whole point of .pacnew files.