Make this more like master/f21/f20
Signed-off-by: Peter Jones <pjones@redhat.com>
This commit is contained in:
parent
d854b5dba9
commit
e66067a8e6
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
/mokutil-*.tar.bz2
|
||||
/shim-*.tar.bz2
|
||||
*.tar.*
|
||||
clog
|
||||
*.rpm
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user