package created using the webbuild interface [release 1.59+15.8_0ubuntu2-1mamba;Sat Oct 26 2024]

This commit is contained in:
Silvan Calarco 2024-11-07 21:51:39 +01:00
parent 8e38d57917
commit 266b5f716f
2 changed files with 56 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# shim-signed # shim-signed
Initial UEFI bootloader that handles chaining to a trusted full bootloader under secure boot environments (prebuilt x64 and AA64 binaries from Ubuntu).

54
shim-signed.spec Normal file
View File

@ -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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 1.59+15.8_0ubuntu2-1mamba
- package created using the webbuild interface