Make this more like master/f21/f20

Signed-off-by: Peter Jones <pjones@redhat.com>
This commit is contained in:
Peter Jones 2014-10-14 10:44:51 -04:00
parent d854b5dba9
commit e66067a8e6
2 changed files with 7 additions and 6 deletions

5
.gitignore vendored
View File

@ -1,2 +1,3 @@
/mokutil-*.tar.bz2
/shim-*.tar.bz2
*.tar.*
clog
*.rpm

View File

@ -5,7 +5,7 @@ Summary: First-stage UEFI bootloader
License: BSD
URL: http://www.codon.org.uk/~mjg59/shim/
Source0: http://www.codon.org.uk/~mjg59/shim/shim-%{version}.tar.bz2
Source0: https://github.com/mjg59/%{name}/releases/download/%{version}/%{name}-%{version}.tar.bz2
Source1: fedora-ca.cer
# currently here's what's in our dbx:
@ -54,9 +54,9 @@ Initial UEFI bootloader that handles chaining to a trusted full bootloader
under secure boot environments.
%prep
%setup -q -n shim-%{version}
%setup -q
git init
git config user.email "shim-owner@fedoraproject.org"
git config user.email "%{name}-owner@fedoraproject.org"
git config user.name "Fedora Ninjas"
git add .
git commit -a -q -m "%{version} baseline."
@ -69,7 +69,7 @@ MAKEFLAGS=""
if [ -f "%{SOURCE1}" ]; then
MAKEFLAGS="VENDOR_CERT_FILE=%{SOURCE1} VENDOR_DBX_FILE=%{SOURCE2}"
fi
make ${MAKEFLAGS} shim.efi MokManager.efi fallback.efi
make 'DEFAULT_LOADER=\\\\grubx64.efi' ${MAKEFLAGS} shim.efi MokManager.efi fallback.efi
%install
rm -rf $RPM_BUILD_ROOT