|
|
ab65a7 |
%define efivar_version 31-1
|
|
|
ab65a7 |
|
|
|
8dd33d |
Summary: EFI Boot Manager
|
|
|
8dd33d |
Name: efibootmgr
|
|
|
ab65a7 |
Version: 15
|
|
|
ab65a7 |
Release: 2%{?dist}
|
|
|
8dd33d |
Group: System Environment/Base
|
|
|
8dd33d |
License: GPLv2+
|
|
|
ab65a7 |
URL: http://github.com/rhinstaller/%{name}/
|
|
|
ab65a7 |
BuildRequires: git, popt-devel
|
|
|
ab65a7 |
BuildRequires: efivar-libs >= %{efivar_version}
|
|
|
ab65a7 |
BuildRequires: efivar-devel >= %{efivar_version}
|
|
|
8dd33d |
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXXXX)
|
|
|
8dd33d |
# EFI/UEFI don't exist on PPC
|
|
|
92475f |
ExclusiveArch: x86_64 aarch64 i686
|
|
|
8dd33d |
|
|
|
8dd33d |
# for RHEL / Fedora when efibootmgr was part of the elilo package
|
|
|
5fb29d |
Conflicts: elilo <= 3.6-6
|
|
|
5fb29d |
Obsoletes: elilo <= 3.6-6
|
|
|
5fb29d |
|
|
|
ab65a7 |
Source0: https://github.com/rhinstaller/%{name}/releases/download/%{name}-%{version}/%{name}-%{version}.tar.bz2
|
|
|
ab65a7 |
Patch0001: 0001-RHEL-7.x-popt-doesn-t-have-popt.pc-work-around-its-a.patch
|
|
|
ab65a7 |
Patch0002: 0002-Don-t-build-efibootdump-on-RHEL-7.4.patch
|
|
|
ab65a7 |
Patch0003: 0003-make_linux_load_option-check-data_size-correctly.patch
|
|
|
ab65a7 |
|
|
|
ab65a7 |
%global efidir %(eval echo $(grep ^ID= /etc/os-release | sed -e 's/^ID=//' -e 's/rhel/redhat/'))
|
|
|
8dd33d |
|
|
|
8dd33d |
%description
|
|
|
8dd33d |
%{name} displays and allows the user to edit the Intel Extensible
|
|
|
8dd33d |
Firmware Interface (EFI) Boot Manager variables. Additional
|
|
|
8dd33d |
information about EFI can be found at
|
|
|
8dd33d |
http://developer.intel.com/technology/efi/efi.htm and http://uefi.org/.
|
|
|
8dd33d |
|
|
|
8dd33d |
%prep
|
|
|
8dd33d |
%setup -q
|
|
|
8dd33d |
git init
|
|
|
5fb29d |
git config user.email "example@example.com"
|
|
|
5fb29d |
git config user.name "RHEL Ninjas"
|
|
|
8dd33d |
git add .
|
|
|
8dd33d |
git commit -a -q -m "%{version} baseline."
|
|
|
5fb29d |
git am %{patches}
|
|
|
5fb29d |
git config --unset user.email
|
|
|
5fb29d |
git config --unset user.name
|
|
|
8dd33d |
|
|
|
8dd33d |
%build
|
|
|
ab65a7 |
make %{?_smp_mflags} EXTRA_CFLAGS='%{optflags}' EFIDIR=%{efidir}
|
|
|
8dd33d |
|
|
|
8dd33d |
%install
|
|
|
8dd33d |
rm -rf %{buildroot}
|
|
|
ab65a7 |
%make_install EFIDIR=%{efidir} libdir=%{_libdir} \
|
|
|
ab65a7 |
bindir=%{_bindir} mandir=%{_mandir} localedir=%{_datadir}/locale/ \
|
|
|
ab65a7 |
includedir=%{_includedir} libexecdir=%{_libexecdir} \
|
|
|
ab65a7 |
datadir=%{_datadir}
|
|
|
8dd33d |
|
|
|
8dd33d |
%clean
|
|
|
8dd33d |
rm -rf %{buildroot}
|
|
|
8dd33d |
|
|
|
8dd33d |
%files
|
|
|
8dd33d |
%defattr(-,root,root,-)
|
|
|
ab65a7 |
%{!?_licensedir:%global license %%doc}
|
|
|
ab65a7 |
%license COPYING
|
|
|
ab65a7 |
%{_sbindir}/*
|
|
|
ab65a7 |
%{_mandir}/*/*.?.gz
|
|
|
ab65a7 |
%doc README
|
|
|
bbe12c |
|
|
|
8dd33d |
%changelog
|
|
|
92475f |
* Tue Oct 03 2017 Johnny Hughes <johnny@centos.org> 15-2
|
|
|
92475f |
- mod spec to build on i686
|
|
|
92475f |
|
|
|
ab65a7 |
* Tue May 09 2017 Peter Jones <pjones@redhat.com> - 15-2
|
|
|
ab65a7 |
- Fix some coverity issues
|
|
|
ab65a7 |
Related: rhbz#1380825
|
|
|
ab65a7 |
|
|
|
ab65a7 |
* Mon Mar 13 2017 Peter Jones <pjones@redhat.com> - 15-1
|
|
|
ab65a7 |
- Update to efivar 15 for fwupdate
|
|
|
ab65a7 |
Related: rhbz#1380825
|
|
|
ab65a7 |
|
|
|
38ab4d |
* Tue Jul 19 2016 Peter Jones <pjones@redhat.com> - 0.8.0-10
|
|
|
38ab4d |
- Another man page update for Memory Address Range Mirroring
|
|
|
38ab4d |
Related: rhbz#1271412
|
|
|
38ab4d |
|
|
|
38ab4d |
* Wed Jul 13 2016 Peter Jones <pjones@redhat.com> - 0.8.0-9
|
|
|
38ab4d |
- Update man page for Memory Address Range Mirroring
|
|
|
38ab4d |
Related: rhbz#1271412
|
|
|
38ab4d |
|
|
|
38ab4d |
* Mon Jun 06 2016 Peter Jones <pjones@redhat.com> - - 0.8.0-8
|
|
|
38ab4d |
- Add options for Memory Address Range Mirroring
|
|
|
38ab4d |
Resolves: rhbz#1271412
|
|
|
38ab4d |
|
|
|
c9eda1 |
* Thu Jul 09 2015 Peter Jones <pjones@redhat.com> - 0.8.0-7
|
|
|
c9eda1 |
- Fix a couple of problems parsing command line options QA is seeing.
|
|
|
c9eda1 |
Resolves: rhbz#1241411
|
|
|
c9eda1 |
|
|
|
c9eda1 |
* Tue Jun 30 2015 Peter Jones <pjones@redhat.com> - 0.8.0-6
|
|
|
c9eda1 |
- Handle -b and -o parsing in a way that matches the documentation.
|
|
|
c9eda1 |
Resolves: rhbz#1174964
|
|
|
c9eda1 |
- Use the right GUID when setting boot entries active/inactive
|
|
|
c9eda1 |
Resolves: rhbz#1221771
|
|
|
c9eda1 |
|
|
|
5fb29d |
* Mon Feb 02 2015 Peter Jones <pjones@redhat.com> - 0.8.0-5
|
|
|
5fb29d |
- Fix patch merge error from -4
|
|
|
5fb29d |
Resolves: rhbz#1188313
|
|
|
8dd33d |
|
|
|
5fb29d |
* Thu Jan 08 2015 Peter Jones <pjones@redhat.com> - 0.8.0-4
|
|
|
5fb29d |
- Fix buffer overflow when remove_from_boot_order removes nothing (lennysz)
|
|
|
5fb29d |
Resolves: rhbz#1168019
|
|
|
8dd33d |
|
|
|
5fb29d |
* Wed Oct 15 2014 Peter Jones <pjones@redhat.com> - 0.8.0-3
|
|
|
5fb29d |
- Don't error when BootOrder is unset and we're trying to add to it.
|
|
|
5fb29d |
Related:rhbz#967969
|
|
|
8dd33d |
|
|
|
5fb29d |
* Wed Sep 10 2014 Peter Jones <pjones@redhat.com> - 0.8.0-2
|
|
|
5fb29d |
- Fix some covscan related errors.
|
|
|
5fb29d |
Related: rhbz#1129435
|
|
|
8dd33d |
|
|
|
5fb29d |
* Fri Sep 05 2014 Peter Jones <pjones@redhat.com> - 0.8.0-1
|
|
|
5fb29d |
- Rebase to 0.8.0
|
|
|
5fb29d |
Resolves: rhbz#1129435
|