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
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

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
Comment by Tobias Powalowski (tpowa) - Thursday, 17 November 2016, 18:36 GMT
CONFIG_EFI_VARS will not be enabled it's the old style of dealing with EFI.
Comment by Pablo Lezaeta (Jristz) - Wednesday, 07 December 2016, 06:39 GMT
tpowa, and just the Config_efi_bootloader_control alone?

also Q. when config_efi_vars was de-enabled?
Comment by mirh (mirh) - Thursday, 27 April 2017, 18:18 GMT

Loading...