FS#51695 - [linux] Please enable CONFIG_EFI_BOOTLOADER_CONTROL
Attached to Project:
Arch Linux
Opened by Johan Myréen (jmyreen) - Friday, 04 November 2016, 17:59 GMT
Last edited by Eli Schwartz (eschwartz) - Thursday, 03 August 2017, 17:04 GMT
Opened by Johan Myréen (jmyreen) - Friday, 04 November 2016, 17:59 GMT
Last edited by Eli Schwartz (eschwartz) - Thursday, 03 August 2017, 17:04 GMT
|
Details
Description: I would like to see CONFIG_EFI_VARS and
CONFIG_EFI_BOOTLOADER_CONTROL enabled in the kernel package.
This implements a new feature introduced in kernel 4.7 which
stores a string, if given as an argument to the reboot()
system call, in the EFI variable LoaderEntryOneShot. If the
string matches one of the boot labels defined in the
bootloader configuration, the bootloader will boot once to
that label.
This can be used, among other things, to implement a forced file system check at next reboot, similar to the /forcefsck trick that doesn't work anymore with systemd. To implement this, make a copy of arch.conf named fsck.conf in /boot/loader/entries, but with fsck.mode=force added to the kernel command line. To reboot with the forced file system check, run "systemctl reboot fsck". See https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=06f7d4a1618dbb086e738c93cd1ef416ab01027d |
This task depends upon
Closed by Eli Schwartz (eschwartz)
Thursday, 03 August 2017, 17:04 GMT
Reason for closing: Won't implement
Additional comments about closing: see tpowa's comment
Thursday, 03 August 2017, 17:04 GMT
Reason for closing: Won't implement
Additional comments about closing: see tpowa's comment
also Q. when config_efi_vars was de-enabled?
https://bugzilla.redhat.com/show_bug.cgi?id=1252137