diff --git a/shim-15.8-lp155.8.8.aarch64.rpm b/shim-15.8-lp155.8.8.aarch64.rpm new file mode 100644 index 0000000..cb99b95 --- /dev/null +++ b/shim-15.8-lp155.8.8.aarch64.rpm @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4fd9310c3fcf4ec3da4327250841fb4748e1b0d8a3880cb967389f7d4e51ee25 +size 440512 diff --git a/shim-leap.changes b/shim-leap.changes index a73095b..d9ac18e 100644 --- a/shim-leap.changes +++ b/shim-leap.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Mon Sep 2 08:07:02 UTC 2024 - Dennis Tseng + +- Update shim version for aarch64 to shim-15.8-lp155.8.8.aarch64.rpm + coming from openSUSE secure-boot 15.5 + + To avoid failure check by robot, SOURCEs in spec file are redefined. + + Version: 15.8, "Jan 23 2024" + + Include the bug fixes for bsc#1215099,bsc#1215098,bsc#1215100,bsc#1215101, + bsc#1215102, and bsc#1215103. + ------------------------------------------------------------------- Tue Jul 23 03:27:56 UTC 2024 - Dennis Tseng diff --git a/shim-leap.spec b/shim-leap.spec index ddf3e65..d61ef82 100644 --- a/shim-leap.spec +++ b/shim-leap.spec @@ -30,13 +30,14 @@ Release: 0 Summary: UEFI shim loader License: BSD-2-Clause Group: System/Boot -Source: shim-15.8-lp155.8.2.x86_64.rpm -Source1: README -Source2: shim-install +Source0: shim-15.8-lp155.8.2.x86_64.rpm +Source1: shim-15.8-lp155.8.8.aarch64.rpm +Source2: README +Source3: shim-install BuildRequires: fde-tpm-helper-rpm-macros BuildRequires: update-bootloader-rpm-macros BuildRoot: %{_tmppath}/%{name}-%{version}-build -ExclusiveArch: x86_64 +ExclusiveArch: x86_64 aarch64 %description does not exist @@ -54,14 +55,18 @@ shim is a trivial EFI application that, when run, attempts to open and execute another application. %prep +%ifarch x86_64 rpm2cpio %{SOURCE0} | cpio --extract --unconditional --preserve-modification-time --make-directories +%else +rpm2cpio %{SOURCE1} | cpio --extract --unconditional --preserve-modification-time --make-directories +%endif %build %install # purely repackaged cp -a * %{buildroot} -cp %{S:1} . +cp %{S:2} . # Override shim-install install -m 755 %{S:2} %{buildroot}/%{_sbindir}/shim-install