#### Beyond Linux® From Scratch (systemd Edition) - Version 11.1

### Chapter 5. File Systems and Disk Management

- Prev

  xfsprogs-5.14.2

- Next

  efibootmgr-17

- Up
- Home

# efivar-38

## Introduction to efivar

The efivar package provides tools and libraries to manipulate EFI variables.

This package is known to build and work properly using an LFS-11.1 platform.

### Package Information

- Download (HTTP): https://github.com/rhboot/efivar/releases/download/38/efivar-38.tar.bz2

- Download MD5 sum: 243fdbc48440212695cb9c6e6fd0f44f

- Download size: 316 KB

- Estimated disk space required: 18 MB

- Estimated build time: less than 0.1 SBU

### efivar Dependencies

#### Required

mandoc-1.14.6

User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/efivar

## Installation of efivar

First, fix an issue in Makefile causing the package to be rebuilt during installation:

    sed '/prep :/a\\ttouch prep' -i src/Makefile

Build efivar with the following commands:

    make

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, as the `root` user:

    make install LIBDIR=/usr/lib

## Command Explanations

`LIBDIR=/usr/lib`: This option overrides the default library directory of the package (`/usr/lib64`, which is not used by LFS.)

## Contents

Installed Programs: efisecdb and efivar
Installed Libraries: libefiboot.so, libefisec.so, and libefivar.so
Installed Directories: /usr/include/efivar

### Short Descriptions

efisecdb | is an utility for managing UEFI signature lists
efivar | is a tool to manipulate UEFI variables
`libefiboot.so` | is a library used by efibootmgr
`libefisec.so` | is a library for managing UEFI signature lists
`libefivar.so` | is a library for the manipulation of EFI variables

Last updated on

- Prev

  xfsprogs-5.14.2

- Next

  efibootmgr-17

- Up
- Home