2019-09-30 10:37:55 -04:00
|
|
|
Name: efibootmgr
|
2023-03-13 20:06:26 +08:00
|
|
|
Release: 4
|
2022-10-18 23:18:58 +08:00
|
|
|
Version: 18
|
2019-09-30 10:37:55 -04:00
|
|
|
Summary: A tool manipulating the EFI Boot Manager
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
URL: https://github.com/rhboot/%{name}/
|
2022-11-25 10:33:32 +08:00
|
|
|
Source0: https://github.com/rhboot/%{name}/archive/refs/tags/%{version}.tar.gz
|
2019-09-30 10:37:55 -04:00
|
|
|
|
2023-02-20 11:08:10 +08:00
|
|
|
Patch6000: backport-Update-efibootmgr.c.patch
|
2023-03-13 20:06:26 +08:00
|
|
|
Patch6001: backport-Add-missing-short-option-handling-for-index-I.patch
|
|
|
|
|
Patch6002: backport-Fix-segfault-when-passed-index-is-greater-than-curre.patch
|
2021-06-08 11:40:30 +08:00
|
|
|
|
2021-05-26 11:26:49 +08:00
|
|
|
BuildRequires: gcc
|
2022-10-18 23:18:58 +08:00
|
|
|
BuildRequires: efi-srpm-macros >= 3-2 efi-filesystem git popt-devel efivar-libs >= 38-1 efivar-devel >= 38-1
|
2019-09-30 10:37:55 -04:00
|
|
|
Requires: efi-filesystem
|
|
|
|
|
ExclusiveArch: %{efi}
|
|
|
|
|
Conflicts: elilo <= 3.6-6
|
|
|
|
|
Obsoletes: elilo <= 3.6-6
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Efibootmgr is a Linux user-space application to modify the Intel Extensible Firmware Interface (EFI)
|
|
|
|
|
Boot Manager. This application can create and destroy boot entries, change the boot order, change
|
|
|
|
|
the next running boot option, and more.
|
|
|
|
|
|
|
|
|
|
%package help
|
|
|
|
|
Summary: Documents for efibootmgr
|
|
|
|
|
|
|
|
|
|
%description help
|
|
|
|
|
Help package contains some readme, man and other related files for efibootmgr.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -S git
|
|
|
|
|
git config --local --add %{name}.efidir %{efi_vendor}
|
|
|
|
|
|
|
|
|
|
%build
|
2022-10-18 23:18:58 +08:00
|
|
|
%make_build CFLAGS='%{optflags}' LDFLAGS='%{build_ldflags}'
|
2019-09-30 10:37:55 -04:00
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
%make_install libdir=%{_libdir} bindir=%{_bindir} mandir=%{_mandir} datadir=%{_datadir} \
|
|
|
|
|
localedir=%{_datadir}/locale/ includedir=%{_includedir} libexecdir=%{_libexecdir}
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
|
%license COPYING
|
|
|
|
|
%{_sbindir}/*
|
|
|
|
|
|
|
|
|
|
%files help
|
|
|
|
|
%doc README
|
|
|
|
|
%{_mandir}/*/*.?.gz
|
|
|
|
|
|
|
|
|
|
%changelog
|
2023-03-13 20:06:26 +08:00
|
|
|
* Mon Mar 13 2023 zhangqiumiao <zhangqiumiao1@huawei.com> - 18-4
|
|
|
|
|
- Fix segfault when passed --index is greater than current boot order size
|
|
|
|
|
Add missing short option handling for --index (-I)
|
|
|
|
|
|
2023-02-20 11:08:10 +08:00
|
|
|
* Mon Feb 20 2023 zhangqiumiao <zhangqiumiao1@huawei.com> - 18-3
|
|
|
|
|
- get_entry: return entry if it was found before reaching the end of the list
|
|
|
|
|
|
2022-11-25 10:33:32 +08:00
|
|
|
* Fri Nov 25 2022 zhangqiumiao <zhangqiumiao1@huawei.com> - 18-2
|
|
|
|
|
- Fix the wrong url of Source0 and modify the name of the source tarball
|
|
|
|
|
|
2022-10-18 23:18:58 +08:00
|
|
|
* Tue Oct 18 2022 zhangqiumiao <zhangqiumiao1@huawei.com> - 18-1
|
|
|
|
|
- update to verion 18
|
|
|
|
|
|
2022-04-25 02:50:57 +00:00
|
|
|
* Mon Apr 25 2022 yangcheng <yangcheng87@h-partners.com> - 17-2
|
|
|
|
|
- rebuild efibootmgr
|
|
|
|
|
|
2021-06-21 10:09:45 +08:00
|
|
|
* Mon Jun 21 2021 hanhui <hanhui15@huawei.com> - 17-1
|
|
|
|
|
- update to 17
|
|
|
|
|
|
2021-06-08 11:40:30 +08:00
|
|
|
* Tue Jun 8 2021 hanhui <hanhui15@huawei.com> - 16-8
|
|
|
|
|
- round community patches fix memory leak
|
|
|
|
|
|
2021-05-26 11:26:49 +08:00
|
|
|
* Wed May 26 2021 liuyumeng <liuyumeng5@huawei.com> - 16-7
|
|
|
|
|
- Add a BuildRequires for gcc
|
|
|
|
|
|
2020-09-10 18:59:56 +08:00
|
|
|
* Thu Sep 10 2020 hanzhijun <hanzhijun1@huawei.com> - 16-6
|
|
|
|
|
- solve source url problem
|
|
|
|
|
|
2019-09-30 10:37:55 -04:00
|
|
|
* Sun Sep 15 2019 yanzhihua <yanzhihua4@huawei.com> - 16-5
|
|
|
|
|
- Package init.
|