FS#63132 - [grub] Allow sourcing local file in /etc/default/grub (if it exists)

Attached to Project: Arch Linux
Opened by AMM (amish) - Tuesday, 09 July 2019, 05:48 GMT
Last edited by Eli Schwartz (eschwartz) - Tuesday, 09 July 2019, 21:10 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Arch packages its own default grub configuration. /etc/default/grub.

Which has nice defaults. But I also prefer to add my own features. (or minor changes)

So I have to manually edit the file which then leaves pacnew files every time the file is changed in Arch package. (which happened just recently)

It would be nice if /etc/default/grub file sources a local file if it exists. (at the end of script)

i.e. append something like this: (copied from grub-mkconfig)

if test -f /etc/default/grub.local ; then
. /etc/default/grub.local
fi

This will not change any existing behavior or add any additional file. But allow administrator to have their own customization without manually editing the default grub file in future.

It is very helpful when you are managing multiple Arch installation.

Please consider implementing.

Thank you.

Additional info:
* package version(s)
2.04 (or any version)

* config and/or log files etc.
/etc/default/grub
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Tuesday, 09 July 2019, 21:10 GMT
Reason for closing:  Won't implement
Additional comments about closing:  There's nothing wrong with pacnew files, use them the way they were intended.

Loading...