From 03423e0583057cbe5a16f8439183e2dbc0e8dd7c Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Mon, 9 Dec 2019 19:17:24 +0300 Subject: secondary commit --- extra/efibootmgr/build | 10 ++++++++++ extra/efibootmgr/checksums | 2 ++ extra/efibootmgr/depends | 2 ++ extra/efibootmgr/patches/efivar.patch | 14 ++++++++++++++ extra/efibootmgr/sources | 2 ++ extra/efibootmgr/version | 1 + 6 files changed, 31 insertions(+) create mode 100755 extra/efibootmgr/build create mode 100644 extra/efibootmgr/checksums create mode 100644 extra/efibootmgr/depends create mode 100644 extra/efibootmgr/patches/efivar.patch create mode 100644 extra/efibootmgr/sources create mode 100644 extra/efibootmgr/version (limited to 'extra/efibootmgr') diff --git a/extra/efibootmgr/build b/extra/efibootmgr/build new file mode 100755 index 00000000..e15840ed --- /dev/null +++ b/extra/efibootmgr/build @@ -0,0 +1,10 @@ +#!/bin/sh -e + +patch -p1 < efivar.patch + +make \ + 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" diff --git a/extra/efibootmgr/checksums b/extra/efibootmgr/checksums new file mode 100644 index 00000000..cb79ce74 --- /dev/null +++ b/extra/efibootmgr/checksums @@ -0,0 +1,2 @@ +22a95ebe0d5c9fb2915b3a100450f8f37484d1dbb8b296f55b343cc84f10397d 17.tar.gz +167ac36fb4bd59e90fede0422280117c0b50d0ac3c0c7d478fea427cb9a6944c efivar.patch diff --git a/extra/efibootmgr/depends b/extra/efibootmgr/depends new file mode 100644 index 00000000..a760e6c7 --- /dev/null +++ b/extra/efibootmgr/depends @@ -0,0 +1,2 @@ +efivar +popt diff --git a/extra/efibootmgr/patches/efivar.patch b/extra/efibootmgr/patches/efivar.patch new file mode 100644 index 00000000..614195f3 --- /dev/null +++ b/extra/efibootmgr/patches/efivar.patch @@ -0,0 +1,14 @@ +diff --git a/src/efibootmgr.c b/src/efibootmgr.c +index de38f01..4e1a680 100644 +--- a/src/efibootmgr.c ++++ b/src/efibootmgr.c +@@ -1536,9 +1536,6 @@ parse_opts(int argc, char **argv) + "invalid numeric value %s\n", + optarg); + } +- /* XXX efivar-36 accidentally doesn't have a public +- * header for this */ +- extern int efi_set_verbose(int verbosity, FILE *errlog); + efi_set_verbose(opts.verbose - 2, stderr); + break; + case 'V': diff --git a/extra/efibootmgr/sources b/extra/efibootmgr/sources new file mode 100644 index 00000000..4afc6a0a --- /dev/null +++ b/extra/efibootmgr/sources @@ -0,0 +1,2 @@ +https://github.com/rhboot/efibootmgr/archive/17.tar.gz +patches/efivar.patch diff --git a/extra/efibootmgr/version b/extra/efibootmgr/version new file mode 100644 index 00000000..5e661b99 --- /dev/null +++ b/extra/efibootmgr/version @@ -0,0 +1 @@ +17 1 -- cgit v1.2.3