update to efibootmgr-17

This commit is contained in:
shirely16 2021-06-21 10:09:45 +08:00
parent 4a8c1b8b1c
commit 59c6fb834c
4 changed files with 31 additions and 3 deletions

Binary file not shown.

BIN
efibootmgr-17.tar.gz Normal file

Binary file not shown.

View File

@ -1,11 +1,12 @@
Name: efibootmgr Name: efibootmgr
Release: 8 Release: 1
Version: 16 Version: 17
Summary: A tool manipulating the EFI Boot Manager Summary: A tool manipulating the EFI Boot Manager
License: GPLv2+ License: GPLv2+
URL: https://github.com/rhboot/%{name}/ URL: https://github.com/rhboot/%{name}/
Source0: https://github.com/rhboot/%{name}/releases/download/%{version}/%{name}-%{version}.tar.bz2 Source0: https://github.com/rhboot/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz
Patch0: remove_extra_decl.patch
Patch6000: backport-get-rid-of-a-memory-leak-of-deleted-boot-entries.patch Patch6000: backport-get-rid-of-a-memory-leak-of-deleted-boot-entries.patch
BuildRequires: gcc BuildRequires: gcc
@ -48,6 +49,9 @@ rm -rf %{buildroot}
%{_mandir}/*/*.?.gz %{_mandir}/*/*.?.gz
%changelog %changelog
* Mon Jun 21 2021 hanhui <hanhui15@huawei.com> - 17-1
- update to 17
* Tue Jun 8 2021 hanhui <hanhui15@huawei.com> - 16-8 * Tue Jun 8 2021 hanhui <hanhui15@huawei.com> - 16-8
- round community patches fix memory leak - round community patches fix memory leak

24
remove_extra_decl.patch Normal file
View File

@ -0,0 +1,24 @@
From 99b578501643377e0b1994b2a068b790d189d5ad Mon Sep 17 00:00:00 2001
From: Peter Jones <pjones@redhat.com>
Date: Wed, 13 Jun 2018 09:41:01 -0400
Subject: [PATCH] remove extra decl
Signed-off-by: Peter Jones <pjones@redhat.com>
---
src/efibootmgr.c | 3 ---
1 file changed, 3 deletions(-)
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':