Accepting request 1201918 from devel:openSUSE:Factory

OBS-URL: https://build.opensuse.org/request/show/1201918
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shim-leap?expand=0&rev=23
This commit is contained in:
Ana Guerrero 2024-09-19 19:17:42 +00:00 committed by Git OBS Bridge
commit ffeece8304
3 changed files with 23 additions and 5 deletions

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4fd9310c3fcf4ec3da4327250841fb4748e1b0d8a3880cb967389f7d4e51ee25
size 440512

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Sep 2 08:07:02 UTC 2024 - Dennis Tseng <dennis.tseng@suse.com>
- 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 <dennis.tseng@suse.com>

View File

@ -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