mirror of
https://src.fedoraproject.org/rpms/grub2.git
synced 2024-10-18 09:51:50 +00:00
RFE: Include datehook module in default grub EFI image #12
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description of problem: grub contains the datehook module. But Fedora currently does not include it into the default EFI image. So when you want to use it, you have to build the EFI image yourself. Then it is not signed anymore. Also keeping it up to date is much more complicated. So please include datehook into the default EFI image. Version-Release number of selected component (if applicable): grub2-2.06-5 How reproducible: n/a Additional info: The datehook module makes the current date and time available to grub configuration as environment variables ($YEAR, $MONTH, $DAY, $HOUR, $MINUTE, $SECOND, $WEEKDAY). See http://git.savannah.gnu.org/cgit/grub.git/tree/grub-core/hook/datehook.c My usecase for it is to change the grub config entry that is booted by default based on time. The machines automatically boot at night and should then select a special config entry that automatically checks for updates and installs them. When the machine is rebooted during daytime, the normal image should boot. But I can imagine other usecases, like storing the last boot time in the grub environment and automatically starting a diagnose or rescue system if the last boot was only a short while ago.