The efibootmgr package provides tools and libraries to manipulate EFI variables.
This package is known to build and work properly using an LFS-11.2 platform.
Download (HTTP): https://github.com/rhboot/efibootmgr/archive/18/efibootmgr-18.tar.gz
Download MD5 sum: e170147da25e1d5f72721ffc46fe4e06
Download size: 48 KB
Estimated disk space required: 1.1 MB
Estimated build time: less than 0.1 SBU
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/efibootmgr
Build efibootmgr with the following commands:
make EFIDIR=LFS EFI_LOADER=grubx64.efi
This package does not have a test suite.
Now, as the root
user:
make install EFIDIR=LFS
EFIDIR=LFS
: This option
specifies the distro's subdirectory name under /boot/efi/EFI
. The building system of this
package needs it to be set explicitly.
EFI_LOADER=grubx64.efi
:
This option specifies the name of the default EFI boot loader. It
is set to match the EFI boot loader provided by GRUB .