FS#44484 - GRUB templates not working

Attached to Project: Arch Linux
Opened by Marc Richter (DerJudge) - Tuesday, 07 April 2015, 08:58 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 07 April 2015, 14:43 GMT
Task Type Bug Report
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 0
Private No

Details

Description:
When editing GRUB_TIMEOUT setting in /etc/default/grub or /etc/grub.d, it is written to /boot/grub/grub.cfg when running grub-mkconfig, but doesn't result in a timeout that short.

The beginning of /boot/grub/grub.cfg reads:

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

I set "GRUB_TIMEOUT=1" in /etc/default/grub and ran grub-mkconfig. "set timeout=1" is then written to /boot/grub/grub.cfg, but boot-menu still takes 5 seconds before booting the default.

Additional info:
* Affects core/grub 1:2.02.beta2-5

This task depends upon

Closed by  Doug Newgard (Scimmia)
Tuesday, 07 April 2015, 14:43 GMT
Reason for closing:  Not a bug
Comment by Marc Richter (DerJudge) - Tuesday, 07 April 2015, 12:05 GMT
Sorry, this is false alert ...
I overlooked grub-mkconfig without parameters just prints the generated config to stdout.
To have it write the config, it has to be issued with "-o /boot/grub/grub.cfg" attached.

Loading...