bugowner: dtseng
Submitting for upgrading shim aarch64 to v15.8 (bsc#1215099, bsc#1215098,bsc#1215100,bsc#1215101,bsc#1215102,and bsc#1215103) OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory/shim-leap?expand=0&rev=46
This commit is contained in:
parent
d6e80d8a24
commit
927d9e88b3
@ -3,6 +3,7 @@ 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.
|
||||
|
@ -24,21 +24,16 @@
|
||||
%define shim_lib64_share_compat 1
|
||||
%endif
|
||||
|
||||
%ifarch x86_64
|
||||
%define rpm_src shim-15.8-lp155.8.2.x86_64.rpm
|
||||
%else
|
||||
%define rpm_src shim-15.8-lp155.8.8.aarch64.rpm
|
||||
%endif
|
||||
|
||||
Name: shim-leap
|
||||
Version: 15.8
|
||||
Release: 0
|
||||
Summary: UEFI shim loader
|
||||
License: BSD-2-Clause
|
||||
Group: System/Boot
|
||||
Source0: %{rpm_src}
|
||||
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
|
||||
@ -60,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
|
||||
|
Loading…
Reference in New Issue
Block a user