2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-07-16 12:42:28 +00:00
repo/core/efibootmgr/build
2019-06-25 21:02:54 +03:00

12 lines
289 B
Bash
Executable File

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