From 62e6db1a0d4a1708867131473c9f48e2d8c9d523 Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 18 Jan 2022 16:41:30 +0000 Subject: added efi tools --- repo/system/efivar.xibuild | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 repo/system/efivar.xibuild (limited to 'repo/system/efivar.xibuild') diff --git a/repo/system/efivar.xibuild b/repo/system/efivar.xibuild new file mode 100644 index 0000000..0d52229 --- /dev/null +++ b/repo/system/efivar.xibuild @@ -0,0 +1,20 @@ +#!/bin/bash + +DEPS=() + +PKG_VER=37 +SOURCE=https://github.com/rhboot/efivar/releases/download/$PKG_VER/efivar-$PKG_VER.tar.bz2 +DESC="Tools and libraries to manupulate EFI variables" + +prepare () { + curl -SsL https://www.linuxfromscratch.org/patches/blfs/svn/efivar-$PKG_VER-gcc_9-1.patch > efivar-$PKG_VER.patch + patch -Np1 -i efivar-$PKG_VER.patch +} + +build () { + make CFLAGS="-O2 -Wno-stringop-truncation" +} + +package () { + make LIBDIR=/usr/lib DESTDIR=$PKG_DEST install +} -- cgit v1.2.1