The efivar package provides tools and libraries to manipulate EFI variables.
Download (HTTP): https://github.com/rhboot/efivar/archive/39/efivar-39.tar.gz
Download SHA256 Sum: c9edd15f2eeeea63232f3e669a48e992c7be9aff57ee22672ac31f5eca1609a6
Download MD5 sum: a8fc3e79336cd6e738ab44f9bc96a5aa
Download size: 456 KB
Estimated disk space required: 21 MB
Estimated build time: less than 0.1 SBU
mandoc (for the man page of efisecdb)
![[Note]](../images/note.png)
This package cannot function properly on a 32-bit system with a 64-bit UEFI implementation. Don't install this package (or efibootmgr) on 32-bit system unless you are absolutely sure you have a 32-bit UEFI implementation, which is very rare in practice.
Build efivar with the following commands:
make ENABLE_DOCS=0
The test suite of this package is dangerous. Running it may trigger firmware bugs and make your system unusable without using some special hardware to reprogram the firmware.
Now, Install by running this command:
make install ENABLE_DOCS=0 LIBDIR=/usr/lib
To avoid a hard dependency on mandoc we used
ENABLE_DOCS=0, but it causes all the man pages
skipped from the installation even though most of them actually
do not need mandoc. Still as the root user,
install these man pages:
install -vm644 docs/efivar.1 /usr/share/man/man1 install -vm644 docs/*.3 /usr/share/man/man3
ENABLE_DOCS=0: Disable the generation of man
pages, in order to allow building this package without
mandoc installed.
LIBDIR=/usr/lib:
This option overrides the default library directory of the package
(/usr/lib64, which is not used
by LFS).