From 266b5f716fed9c1fc31627fc681f4a9a5ea03318 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Thu, 7 Nov 2024 21:51:39 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.59+15.8_0ubuntu2-1mamba;Sat Oct 26 2024] --- README.md | 2 ++ shim-signed.spec | 54 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 shim-signed.spec diff --git a/README.md b/README.md index c8bf65b..8f7a8d2 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # shim-signed +Initial UEFI bootloader that handles chaining to a trusted full bootloader under secure boot environments (prebuilt x64 and AA64 binaries from Ubuntu). + diff --git a/shim-signed.spec b/shim-signed.spec new file mode 100644 index 0000000..fbc3607 --- /dev/null +++ b/shim-signed.spec @@ -0,0 +1,54 @@ +%define pkgver %(echo %version | tr _ -) +Name: shim-signed +Version: 1.59+15.8_0ubuntu2 +Release: 1mamba +Summary: Initial UEFI bootloader that handles chaining to a trusted full bootloader under secure boot environments (prebuilt x64 and AA64 binaries from Ubuntu) +Group: System/Kernel and Hardware +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://wiki.ubuntu.com/UEFI/SecureBoot/ShimUpdateProcess +Source: http://archive.ubuntu.com/ubuntu/pool/main/s/shim-signed/shim-signed_%{pkgver}_amd64.deb +Source1: http://ports.ubuntu.com/pool/main/s/shim-signed/shim-signed_%{pkgver}_arm64.deb +License: BSD +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END + +%description +Initial UEFI bootloader that handles chaining to a trusted full bootloader under secure boot environments (prebuilt x64 and AA64 binaries from Ubuntu). + +%prep +%setup -q -c -T +%ifarch x86_64 %{ix86} +bsdtar -xOf %{SOURCE0} data.tar.xz | bsdtar -x +%endif +%ifarch aarch64 +bsdtar -xOf %{SOURCE1} data.tar.xz | bsdtar -x +%endif + +%build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%ifarch x86_64 %{ix86} +install -D -m0644 usr/lib/shim/shimx64.efi.signed.latest %{buildroot}%{_datadir}/%{name}/shimx64.efi +install -D -m0644 usr/lib/shim/{mm,fb}x64.efi %{buildroot}%{_datadir}/%{name}/ +%endif +%ifarch aarch64 +install -D -m0644 usr/lib/shim/shimaa64.efi.signed.latest %{buildroot}%{_datadir}/%{name}/shimaa64.efi +install -D -m0644 usr/lib/shim/{mm,fb}aa64.efi %{buildroot}%{_datadir}/%{name}/ +%endif + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_datadir}/shim-signed/fb*64.efi +%{_datadir}/shim-signed/mm*64.efi +%{_datadir}/shim-signed/shim*64.efi +%doc usr/share/doc/shim-signed/copyright + +%changelog +* Sat Oct 26 2024 Silvan Calarco 1.59+15.8_0ubuntu2-1mamba +- package created using the webbuild interface