|
|
@ -1,6 +1,6 @@
|
|
|
|
Name: shim
|
|
|
|
Name: shim
|
|
|
|
Version: 15.8
|
|
|
|
Version: 15.8
|
|
|
|
Release: 4.el9_4.inferit.1
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Summary: First-stage UEFI bootloader
|
|
|
|
Summary: First-stage UEFI bootloader
|
|
|
|
License: BSD
|
|
|
|
License: BSD
|
|
|
|
URL: https://github.com/rhboot/shim/
|
|
|
|
URL: https://github.com/rhboot/shim/
|
|
|
@ -12,8 +12,8 @@ ExclusiveArch: %{efi}
|
|
|
|
ExcludeArch: %{arm} %{ix86}
|
|
|
|
ExcludeArch: %{arm} %{ix86}
|
|
|
|
|
|
|
|
|
|
|
|
Source0: shim.rpmmacros
|
|
|
|
Source0: shim.rpmmacros
|
|
|
|
Source1: spheresecureboot001.cer
|
|
|
|
Source1: redhatsecureboot501.cer
|
|
|
|
Source2: spheresecurebootca.cer
|
|
|
|
Source2: redhatsecurebootca5.cer
|
|
|
|
|
|
|
|
|
|
|
|
# keep these two lists of sources synched up arch-wise. That is 0 and 10
|
|
|
|
# keep these two lists of sources synched up arch-wise. That is 0 and 10
|
|
|
|
# match, 1 and 11 match, ...
|
|
|
|
# match, 1 and 11 match, ...
|
|
|
@ -33,18 +33,17 @@ Source42: fbx64.efi
|
|
|
|
%include %{SOURCE0}
|
|
|
|
%include %{SOURCE0}
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: pesign >= 0.112-20.fc27
|
|
|
|
BuildRequires: pesign >= 0.112-20.fc27
|
|
|
|
# We need this because %%{efi} won't expand before choosing where to make
|
|
|
|
# Right now we're just including all of the parts from them as sources here
|
|
|
|
# the src.rpm in koji, and we could be on a non-efi architecture, in which
|
|
|
|
# to make the build+errata process less maddening. We do this because
|
|
|
|
# case we won't have a valid expansion here... To be solved in the future
|
|
|
|
# %%{efi} won't expand before choosing where to make the src.rpm in koji,
|
|
|
|
# (shim 16+) by making the unsigned packages all provide "shim-unsigned", so
|
|
|
|
# and we could be on a non-efi architecture, in which case we won't have a
|
|
|
|
# we can just BuildRequires that.
|
|
|
|
# valid expansion here...
|
|
|
|
%ifarch x86_64
|
|
|
|
#%% ifarch x86_64
|
|
|
|
## BuildRequires: %% {unsignedx64} = %% {shimverx64}
|
|
|
|
#BuildRequires: %% {unsignedx64} = %% {shimverx64}
|
|
|
|
BuildRequires: shim-unsigned-x64 = 15.8-1.el9.inferit
|
|
|
|
#%% endif
|
|
|
|
%endif
|
|
|
|
#%% ifarch aarch64
|
|
|
|
%ifarch aarch64
|
|
|
|
#BuildRequires: %% {unsignedaa64} = %% {shimveraa64}
|
|
|
|
BuildRequires: shim-unsigned-aarch64 = 15.8-2.el9.inferit
|
|
|
|
#%% endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
#%%ifarch arm
|
|
|
|
#%%ifarch arm
|
|
|
|
#BuildRequires: %%{unsignedarm} = %%{shimverarm}
|
|
|
|
#BuildRequires: %%{unsignedarm} = %%{shimverarm}
|
|
|
|
#%%endif
|
|
|
|
#%%endif
|
|
|
@ -71,7 +70,8 @@ cd shim-%{version}
|
|
|
|
%if %{efi_has_alt_arch}
|
|
|
|
%if %{efi_has_alt_arch}
|
|
|
|
%define_build -a %{efi_alt_arch} -A %{efi_alt_arch_upper} -i %{shimefialt} -b yes -c %{is_alt_signed} -d %{shimdiralt}
|
|
|
|
%define_build -a %{efi_alt_arch} -A %{efi_alt_arch_upper} -i %{shimefialt} -b yes -c %{is_alt_signed} -d %{shimdiralt}
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%define_build -a %{efi_arch} -A %{efi_arch_upper} -i %{shimefi} -b yes -c %{is_signed} -d %{shimdir}
|
|
|
|
# Temporarily using _sourcedir to avoid build dep annoyances.
|
|
|
|
|
|
|
|
%define_build -a %{efi_arch} -A %{efi_arch_upper} -i %{shimefi} -b yes -c %{is_signed} -d %{_sourcedir}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
@ -100,27 +100,25 @@ install -m 0700 %{shimefi} $RPM_BUILD_ROOT%{efi_esp_dir}/shim.efi
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%if %{provide_legacy_shim}
|
|
|
|
%if %{provide_legacy_shim}
|
|
|
|
%{efi_esp_dir}/shim.efi
|
|
|
|
%verify(not mtime) %{efi_esp_dir}/shim.efi
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Wed Oct 30 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 15.8-4.el9_4.inferit.1
|
|
|
|
* Tue Apr 16 2024 Peter Jones <pjones@redhat.com> - 15.8-4
|
|
|
|
- Added aarch64 support
|
|
|
|
- Rebuild to work around build system quirks.
|
|
|
|
|
|
|
|
Related: RHEL-11262
|
|
|
|
* Wed May 1 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 15.8-1.el9_4.inferit
|
|
|
|
|
|
|
|
- Rebuilt for MSVSphere 9.4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Apr 22 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 15.8-1.el9.inferit
|
|
|
|
* Wed Apr 03 2024 Peter Jones <pjones@redhat.com> - 15.8-3.el9
|
|
|
|
- 15.8-1 Release
|
|
|
|
- Fix rpm verification due to mtime granularity on FAT.
|
|
|
|
|
|
|
|
Related: RHEL-11262
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Mar 24 2023 Eugene Zamriy <ezamriy@msvsphere.ru> - 15.6-1.inferit
|
|
|
|
* Thu Mar 21 2024 Peter Jones <pjones@redhat.com> - 15.8-2.el9
|
|
|
|
- Modified to use MSVSphere Secure Boot certificates
|
|
|
|
- Add the grub2-efi-ARCH conflict for SBAT.
|
|
|
|
- Disabled aarch64 architecture until we support it
|
|
|
|
Resolves: RHEL-11262
|
|
|
|
- Rebuilt for MSVSphere 9.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 06 2022 Peter Jones <pjones@redhat.com> - 15.6-1.el9
|
|
|
|
* Thu Mar 21 2024 Peter Jones <pjones@redhat.com> - 15.8-1.el9
|
|
|
|
- Update to shim-15.6
|
|
|
|
- Update to shim-15.8 for CVE-2023-40547
|
|
|
|
Resolves: CVE-2022-28737
|
|
|
|
Resolves: RHEL-11262
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Apr 14 2022 Peter Jones <pjones@redhat.com> - 15.5-2.el9
|
|
|
|
* Thu Apr 14 2022 Peter Jones <pjones@redhat.com> - 15.5-2.el9
|
|
|
|
- Attempt to make aarch64 build.
|
|
|
|
- Attempt to make aarch64 build.
|
|
|
|