initial release

This commit is contained in:
Matthew Garrett 2012-08-13 11:39:34 -04:00
parent 76c2626a16
commit 59b1f511d4
4 changed files with 63 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/shim-0.1.tar.bz2

7
shim-fedora.diff Normal file

File diff suppressed because one or more lines are too long

54
shim.spec Normal file
View File

@ -0,0 +1,54 @@
Name: shim
Version: 0.1
Release: 1%{?dist}
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
BuildRequires: gnu-efi
Requires: gnu-efi
# Shim uses OpenSSL, but cannot use the system copy as the UEFI ABI is not
# compatible with SysV (there's no red zone under UEFI) and there isn't a
# POSIX-style C library.
# BuildRequires: OpenSSL
# Shim is only required on platforms implementing the UEFI secure boot
# protocol. The only one of those we currently wish to support is 64-bit x86.
# Adding further platforms will require adding appropriate relocation code.
ExclusiveArch: x86_64
# Temporary test key - update before final
Patch0: shim-fedora.diff
# Shim generates no binaries that run under the installed OS, so debuginfo
# is useless
%global debug_package %{nil}
%description
Initial UEFI bootloader that handles chaining to a trusted full bootloader
under secure boot environments.
%prep
%setup -q
%patch0 -p1
%build
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
install -m 0755 -D shim.efi $RPM_BUILD_ROOT/boot/efi/EFI/redhat/shim.efi
%files
%doc
/boot/efi/EFI/redhat/shim.efi
%changelog
* Mon Aug 13 2012 Matthew Garrett <mjg@redhat.com> - 0.1-1
- initial release

View File

@ -0,0 +1 @@
7c5286aae419ce82b6b2ab81f717d3b4 shim-0.1.tar.bz2