2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-25 08:40:10 -07:00
repo/extra/efibootmgr/build
2020-02-12 08:52:50 +02:00

12 lines
240 B
Bash
Executable File

#!/bin/sh -e
patch -p1 < efivar.patch
make \
CC="${CC:-cc}" \
EXTRA_CFLAGS=-Os \
EFIDIR=/boot/EFI
install -Dm0755 src/efibootmgr "$1/usr/bin/efibootmgr"
install -Dm0644 src/efibootmgr.8 "$1/usr/share/man/man8/efibootmgr.8"