forked from kiss-community/repo
efibootmgr: Fix build.
This commit is contained in:
parent
963ca8ea1a
commit
ae65b9434b
@ -1,5 +1,7 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
patch -p1 < efivar.patch
|
||||
|
||||
make EXTRA_CFLAGS=-Os EFIDIR=/boot/EFI
|
||||
|
||||
install -d "$1/usr/bin/"
|
||||
|
@ -1 +1,2 @@
|
||||
22a95ebe0d5c9fb2915b3a100450f8f37484d1dbb8b296f55b343cc84f10397d 17.tar.gz
|
||||
167ac36fb4bd59e90fede0422280117c0b50d0ac3c0c7d478fea427cb9a6944c efivar.patch
|
||||
|
14
core/efibootmgr/patches/efivar.patch
Normal file
14
core/efibootmgr/patches/efivar.patch
Normal file
@ -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':
|
@ -1 +1,2 @@
|
||||
https://github.com/rhboot/efibootmgr/archive/17.tar.gz
|
||||
patches/efivar.patch
|
||||
|
Loading…
Reference in New Issue
Block a user