2019-10-10 17:43:15 +08:00
|
|
|
# Description: Manipulate efi boot managers
|
|
|
|
# URL:
|
2019-11-10 23:58:56 +08:00
|
|
|
# Maintainer: Emmett1, emmett1 dot 2miligrams at gmail dot com
|
2019-10-10 17:43:15 +08:00
|
|
|
# Depends on: efivar pciutils
|
|
|
|
|
|
|
|
name=efibootmgr
|
2020-11-13 13:58:01 +08:00
|
|
|
version=17
|
2019-10-10 17:43:15 +08:00
|
|
|
release=1
|
2020-11-13 13:58:01 +08:00
|
|
|
source=(https://github.com/rhboot/efibootmgr/archive/$version/$name-$version.tar.gz
|
|
|
|
efivar.patch)
|
2019-10-10 17:43:15 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
2020-11-13 13:58:01 +08:00
|
|
|
|
|
|
|
patch -Np1 -i $SRC/efivar.patch
|
|
|
|
|
2019-10-10 17:43:15 +08:00
|
|
|
EFIDIR=/boot/efi make
|
|
|
|
install -D src/efibootmgr $PKG/usr/sbin/efibootmgr
|
|
|
|
install -D src/efibootmgr.8 $PKG/usr/share/man/man8/efibootmgr.8
|
|
|
|
}
|