From 2388d10dc77de186bee4d5133a3560e982b93d70 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Thu, 25 Jun 2020 10:00:43 +0300 Subject: efibootmgr: link statically --- extra/efibootmgr/build | 6 ++---- extra/efibootmgr/checksums | 3 +-- extra/efibootmgr/depends | 2 +- extra/efibootmgr/sources | 3 +-- 4 files changed, 5 insertions(+), 9 deletions(-) diff --git a/extra/efibootmgr/build b/extra/efibootmgr/build index e15840ed..4ec986bf 100755 --- a/extra/efibootmgr/build +++ b/extra/efibootmgr/build @@ -1,10 +1,8 @@ #!/bin/sh -e -patch -p1 < efivar.patch +export LDFLAGS="$LDFLAGS -static" -make \ - EXTRA_CFLAGS=-Os \ - EFIDIR=/boot/EFI +make CC="${CC:-cc}" EFIDIR=/boot/efi efibootmgr install -Dm0755 src/efibootmgr "$1/usr/bin/efibootmgr" install -Dm0644 src/efibootmgr.8 "$1/usr/share/man/man8/efibootmgr.8" diff --git a/extra/efibootmgr/checksums b/extra/efibootmgr/checksums index cb79ce74..abf7ec57 100644 --- a/extra/efibootmgr/checksums +++ b/extra/efibootmgr/checksums @@ -1,2 +1 @@ -22a95ebe0d5c9fb2915b3a100450f8f37484d1dbb8b296f55b343cc84f10397d 17.tar.gz -167ac36fb4bd59e90fede0422280117c0b50d0ac3c0c7d478fea427cb9a6944c efivar.patch +06147c05c3f15271fc74c1761eb8fdb8ed3c252786c8d0b4f514a451825ecf3e 97668ae0bce776a36ea2001dea63d376be8274ac.tar.gz diff --git a/extra/efibootmgr/depends b/extra/efibootmgr/depends index a760e6c7..a0ee99e9 100644 --- a/extra/efibootmgr/depends +++ b/extra/efibootmgr/depends @@ -1,2 +1,2 @@ efivar -popt +linux-headers make diff --git a/extra/efibootmgr/sources b/extra/efibootmgr/sources index 4afc6a0a..3e6cee81 100644 --- a/extra/efibootmgr/sources +++ b/extra/efibootmgr/sources @@ -1,2 +1 @@ -https://github.com/rhboot/efibootmgr/archive/17.tar.gz -patches/efivar.patch +https://github.com/rhboot/efibootmgr/archive/97668ae0bce776a36ea2001dea63d376be8274ac.tar.gz -- cgit v1.2.3