!3 【LTS升级】update efibootmgr to 17

Merge pull request !3 from yu_boyun/openEuler-20.03-LTS
This commit is contained in:
openeuler-ci-bot 2020-08-31 19:19:33 +08:00 committed by Gitee
commit ae0b3dfc41
4 changed files with 32 additions and 3 deletions

Binary file not shown.

BIN
efibootmgr-17.tar.gz Normal file

Binary file not shown.

View File

@ -1,10 +1,12 @@
Name: efibootmgr
Release: 5
Version: 16
Release: 1
Version: 17
Summary: A tool manipulating the EFI Boot Manager
License: GPLv2+
URL: https://github.com/rhboot/%{name}/
Source0: https://github.com/rhboot/%{name}/releases/download/%{name}-%{version}/%{name}-%{version}.tar.bz2
Source0: https://github.com/rhboot/%{name}/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz
Patch0: remove_extra_decl.patch
BuildRequires: efi-srpm-macros >= 3-2 efi-filesystem git popt-devel efivar-libs >= 35-2 efivar-devel >= 35-2
Requires: efi-filesystem
@ -45,5 +47,8 @@ rm -rf %{buildroot}
%{_mandir}/*/*.?.gz
%changelog
* Sat Aug 29 2020 yuboyun <yuboyun@huawei.com> - 17-1
- update to 17
* Sun Sep 15 2019 yanzhihua <yanzhihua4@huawei.com> - 16-5
- Package init.

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':