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
|
- Update shim version for aarch64 to shim-15.8-lp155.8.8.aarch64.rpm
|
||||||
coming from openSUSE secure-boot 15.5
|
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"
|
+ Version: 15.8, "Jan 23 2024"
|
||||||
+ Include the bug fixes for bsc#1215099,bsc#1215098,bsc#1215100,bsc#1215101,
|
+ Include the bug fixes for bsc#1215099,bsc#1215098,bsc#1215100,bsc#1215101,
|
||||||
bsc#1215102, and bsc#1215103.
|
bsc#1215102, and bsc#1215103.
|
||||||
|
@ -24,21 +24,16 @@
|
|||||||
%define shim_lib64_share_compat 1
|
%define shim_lib64_share_compat 1
|
||||||
%endif
|
%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
|
Name: shim-leap
|
||||||
Version: 15.8
|
Version: 15.8
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: UEFI shim loader
|
Summary: UEFI shim loader
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
Group: System/Boot
|
Group: System/Boot
|
||||||
Source0: %{rpm_src}
|
Source0: shim-15.8-lp155.8.2.x86_64.rpm
|
||||||
Source1: README
|
Source1: shim-15.8-lp155.8.8.aarch64.rpm
|
||||||
Source2: shim-install
|
Source2: README
|
||||||
|
Source3: shim-install
|
||||||
BuildRequires: fde-tpm-helper-rpm-macros
|
BuildRequires: fde-tpm-helper-rpm-macros
|
||||||
BuildRequires: update-bootloader-rpm-macros
|
BuildRequires: update-bootloader-rpm-macros
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
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.
|
execute another application.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
%ifarch x86_64
|
||||||
rpm2cpio %{SOURCE0} | cpio --extract --unconditional --preserve-modification-time --make-directories
|
rpm2cpio %{SOURCE0} | cpio --extract --unconditional --preserve-modification-time --make-directories
|
||||||
|
%else
|
||||||
|
rpm2cpio %{SOURCE1} | cpio --extract --unconditional --preserve-modification-time --make-directories
|
||||||
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
# purely repackaged
|
# purely repackaged
|
||||||
cp -a * %{buildroot}
|
cp -a * %{buildroot}
|
||||||
cp %{S:1} .
|
cp %{S:2} .
|
||||||
|
|
||||||
# Override shim-install
|
# Override shim-install
|
||||||
install -m 755 %{S:2} %{buildroot}/%{_sbindir}/shim-install
|
install -m 755 %{S:2} %{buildroot}/%{_sbindir}/shim-install
|
||||||
|
Loading…
Reference in New Issue
Block a user