2017-03-13 19:04:54 +00:00
|
|
|
%define efivar_version 31-1
|
2016-08-10 22:01:02 +00:00
|
|
|
|
2008-01-11 21:18:38 +00:00
|
|
|
Summary: EFI Boot Manager
|
|
|
|
Name: efibootmgr
|
2017-03-13 19:04:54 +00:00
|
|
|
Version: 15
|
|
|
|
Release: 1%{?dist}
|
2008-01-11 21:18:38 +00:00
|
|
|
Group: System Environment/Base
|
|
|
|
License: GPLv2+
|
2015-05-28 14:35:18 +00:00
|
|
|
URL: http://github.com/rhinstaller/%{name}/
|
2016-08-10 22:01:02 +00:00
|
|
|
BuildRequires: git, popt-devel
|
2016-08-10 22:01:02 +00:00
|
|
|
BuildRequires: efivar-libs >= %{efivar_version}
|
|
|
|
BuildRequires: efivar-devel >= %{efivar_version}
|
2008-01-11 21:18:38 +00:00
|
|
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXXXX)
|
|
|
|
# EFI/UEFI don't exist on PPC
|
2016-08-10 22:01:02 +00:00
|
|
|
ExclusiveArch: %{ix86} x86_64 aarch64 arm
|
2008-01-11 21:18:38 +00:00
|
|
|
|
|
|
|
# for RHEL / Fedora when efibootmgr was part of the elilo package
|
2015-05-28 14:35:18 +00:00
|
|
|
Conflicts: elilo <= 3.6-6
|
|
|
|
Obsoletes: elilo <= 3.6-6
|
2008-01-11 21:18:38 +00:00
|
|
|
|
2015-05-28 14:35:18 +00:00
|
|
|
Source0: https://github.com/rhinstaller/%{name}/releases/download/%{name}-%{version}/%{name}-%{version}.tar.bz2
|
2008-01-11 21:18:38 +00:00
|
|
|
|
2017-03-13 19:04:54 +00:00
|
|
|
%global efidir %(eval echo $(grep ^ID= /etc/os-release | sed -e 's/^ID=//' -e 's/rhel/redhat/'))
|
|
|
|
|
2008-01-11 21:18:38 +00:00
|
|
|
%description
|
|
|
|
%{name} displays and allows the user to edit the Intel Extensible
|
|
|
|
Firmware Interface (EFI) Boot Manager variables. Additional
|
|
|
|
information about EFI can be found at
|
|
|
|
http://developer.intel.com/technology/efi/efi.htm and http://uefi.org/.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2014-06-19 20:17:32 +00:00
|
|
|
git init
|
2015-05-28 14:35:18 +00:00
|
|
|
git config user.email "example@example.com"
|
|
|
|
git config user.name "RHEL Ninjas"
|
2014-06-19 20:17:32 +00:00
|
|
|
git add .
|
|
|
|
git commit -a -q -m "%{version} baseline."
|
|
|
|
git am %{patches} </dev/null
|
2015-05-28 14:35:18 +00:00
|
|
|
git config --unset user.email
|
|
|
|
git config --unset user.name
|
2014-06-19 20:17:32 +00:00
|
|
|
|
2008-01-11 21:18:38 +00:00
|
|
|
%build
|
2017-03-13 19:04:54 +00:00
|
|
|
make %{?_smp_mflags} EXTRA_CFLAGS='%{optflags}' EFIDIR=%{efidir}
|
2015-05-28 14:35:18 +00:00
|
|
|
|
2008-01-11 21:18:38 +00:00
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
2017-03-13 19:04:54 +00:00
|
|
|
%make_install EFIDIR=%{efidir} libdir=%{_libdir} \
|
|
|
|
bindir=%{_bindir} mandir=%{_mandir} localedir=%{_datadir}/locale/ \
|
|
|
|
includedir=%{_includedir} libexecdir=%{_libexecdir} \
|
|
|
|
datadir=%{_datadir}
|
2008-01-11 21:18:38 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2016-08-10 22:01:02 +00:00
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
%license COPYING
|
|
|
|
%{_sbindir}/*
|
|
|
|
%{_mandir}/*/*.?.gz
|
|
|
|
%doc README
|
2008-01-11 21:18:38 +00:00
|
|
|
|
|
|
|
%changelog
|
2017-03-13 19:04:54 +00:00
|
|
|
* Mon Mar 13 2017 Peter Jones <pjones@redhat.com> - 15-1
|
|
|
|
- Update to efibootmgr 15
|
|
|
|
- Make efibootmgr use EFIDIR / efibootmgr.efidir like fwupdate does
|
|
|
|
- make --loader default build-time configurable
|
|
|
|
- sanitize set_mirror()/get_mirror()
|
|
|
|
- Add support for parsing loader options as UCS2
|
|
|
|
- GCC 7 fixes
|
|
|
|
- Don't use -fshort-wchar since we don't run on EFI machines.
|
|
|
|
|
2017-02-10 09:04:14 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 14-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-09-28 16:03:28 +00:00
|
|
|
* Wed Sep 28 2016 Peter Jones <pjones@redhat.com> - 14-3
|
|
|
|
- Rebuild for efivar-30-3, this time with the right library sonames.
|
|
|
|
|
2016-09-28 13:52:55 +00:00
|
|
|
* Wed Sep 28 2016 Peter Jones <pjones@redhat.com> - 14-2
|
|
|
|
- Rebuild for efivar-30-2
|
|
|
|
|
2016-09-27 18:45:50 +00:00
|
|
|
* Tue Sep 27 2016 Peter Jones <pjones@redhat.com> - 14-1
|
2016-09-28 13:52:55 +00:00
|
|
|
- Update to efibootmgr 14
|
2016-09-27 18:45:50 +00:00
|
|
|
- Remove "(hex)" from description of --delete-bootnum
|
|
|
|
- Fix a typo in the popt options
|
|
|
|
- Add README.md
|
|
|
|
- make efibootdump install by default
|
|
|
|
- Man page fixes
|
|
|
|
- Better compiler detection
|
|
|
|
- Don't use --default-symver in efibootmgr
|
|
|
|
- Make -flto part of the overrideable CFLAGS
|
|
|
|
|
2016-08-10 22:01:02 +00:00
|
|
|
* Wed Aug 17 2016 Peter Jones <pjones@redhat.com> - 13-2
|
|
|
|
- Update to efibootmgr 13
|
|
|
|
- Add support for --sysprep and --driver to support UEFI System Prep
|
|
|
|
Applications and UEFI Drivers.
|
|
|
|
- use efivar's error reporting facility, and show error traces when
|
|
|
|
"-v -v" is used.
|
|
|
|
- Still yet better error codes returned on failures.
|
|
|
|
- Add -m and -M to support Memory Address Range Mirroring.
|
|
|
|
- Add efibootdump, to examine Boot* variables found in tarballs in bug
|
|
|
|
reports and similar.
|
|
|
|
- miscellaneous bugfixes.
|
2016-08-10 22:01:02 +00:00
|
|
|
|
2016-09-27 18:45:50 +00:00
|
|
|
* Thu Aug 11 2016 Peter Jones <pjones@redhat.com> - 13-1
|
|
|
|
- Update to version 13
|
|
|
|
- add efibootdump
|
|
|
|
- use efivar's error reporting facility
|
|
|
|
- Add address range mirroring support
|
|
|
|
- lots of bug fixes
|
|
|
|
|
2016-02-03 19:41:10 +00:00
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-17 05:16:44 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-05-28 14:35:18 +00:00
|
|
|
* Thu May 28 2015 Peter Jones <pjones@redhat.com> - 0.12-1
|
|
|
|
- Update to 0.12
|
|
|
|
- use libefiboot and libefivar to make device paths and load options
|
|
|
|
- don't depend on -lz or -lpci any more
|
|
|
|
|
2014-10-21 20:42:09 +00:00
|
|
|
* Tue Oct 21 2014 Peter Jones <pjones@redhat.com> - 0.11.0-1
|
2015-05-28 14:35:18 +00:00
|
|
|
- Fix "-n" and friends not being assigned/checked right sometimes from 0.10.0-1
|
|
|
|
- Generate more archives to avoid people using github's, because they're just
|
|
|
|
bad.
|
2014-10-21 20:42:09 +00:00
|
|
|
|
2014-10-20 16:27:13 +00:00
|
|
|
* Mon Oct 20 2014 Peter Jones <pjones@redhat.com> - 0.10.0-1
|
|
|
|
- Make -o parameter validation work better and be more informative
|
|
|
|
- Better exit values
|
|
|
|
- Fix a segfault with appending ascii arguments.
|
|
|
|
|
2015-05-28 14:35:18 +00:00
|
|
|
* Tue Sep 09 2014 Peter Jones <pjones@redhat.com> - 0.8.0-1
|
|
|
|
- Release 0.8.0
|
2008-04-03 17:54:02 +00:00
|
|
|
|
2014-04-01 18:33:51 +00:00
|
|
|
* Mon Jan 13 2014 Peter Jones <pjones@redhat.com> - 0.6.1-1
|
|
|
|
- Release 0.6.1
|
2008-03-06 23:24:17 +00:00
|
|
|
|
2014-04-01 18:33:51 +00:00
|
|
|
* Mon Jan 13 2014 Jared Dominguez <Jared_Dominguez@dell.com>
|
|
|
|
- new home https://github.com/vathpela/efibootmgr
|
2008-02-05 17:04:09 +00:00
|
|
|
|
2008-01-11 21:18:38 +00:00
|
|
|
* Thu Jan 3 2008 Matt Domsch <Matt_Domsch@dell.com> 0.5.4-1
|
|
|
|
- split efibootmgr into its own RPM for Fedora/RHEL.
|
|
|
|
|
2016-08-10 22:01:02 +00:00
|
|
|
* Tue Aug 24 2004 Matt Domsch <Matt_Domsch@dell.com>
|
2008-01-11 21:18:38 +00:00
|
|
|
- new home linux.dell.com
|
|
|
|
|
|
|
|
* Fri May 18 2001 Matt Domsch <Matt_Domsch@dell.com>
|
|
|
|
- See doc/ChangeLog
|