From e0420ea1d543193d613e7d6a0296b28613a19736 Mon Sep 17 00:00:00 2001 From: Jacek Konieczny Date: Sat, 2 Nov 2013 13:16:57 +0100 Subject: [PATCH] new package I was not able to find official 'source' for this signed binary, the real source code is useless for us, as we need a binary signed by Microsoft. We can still provide the unsigned shim binary in our own 'shim' package. --- shim-signed.spec | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 shim-signed.spec diff --git a/shim-signed.spec b/shim-signed.spec new file mode 100644 index 0000000..ced6670 --- /dev/null +++ b/shim-signed.spec @@ -0,0 +1,33 @@ +Summary: EFI loader to chain-load signed boot loaders under Secure Boot +Name: shim-signed +Version: 0.4 +Release: 1 +License: BSD +Group: Applications/System +# Extracted from Fedora package +Source0: %{name}-%{version}.efi +# Source0-md5: abf18595e08e1be3458e5e18c87dfe3c +URL: http://mjg59.dreamwidth.org/20303.html +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +EFI boot loader to chain-load signed boot loaders under Secure Boot. + +%prep +%setup -q -c -T + +%build + +%install +rm -rf $RPM_BUILD_ROOT + +install -d $RPM_BUILD_ROOT/lib/efi/x64 +install %{SOURCE0} $RPM_BUILD_ROOT/lib/efi/x64/shim-signed.efi + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +/lib/efi/x64/shim-signed.efi -- 2.44.0