Compare commits
4 Commits
c8
...
a9-depreca
| Author | SHA1 | Date | |
|---|---|---|---|
| 30f1d2b312 | |||
| 7986ff7460 | |||
| 80e5cf5b3c | |||
| 09b7c524d4 |
@ -1,3 +1,3 @@
|
|||||||
8ab193ad7addd71e4a820081f36d47e5ef727d28 SOURCES/shimaa64.efi
|
bfee65ae45498fefd64b16edf9993415b625cb3c SOURCES/shimaa64.efi
|
||||||
c04dd5db5d91e8d1f597f2bfd878f55eba05a125 SOURCES/shimia32.efi
|
ea800341a41765d0a06611220063d3aef8453dab SOURCES/shimia32.efi
|
||||||
9a08a40a69ba8ad6292a19aca367d819e875d789 SOURCES/shimx64.efi
|
9f0ee5b4f212db7d228c8f985d4f15410c4922ed SOURCES/shimx64.efi
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
SOURCES/clsecureboot001.cer
Normal file
BIN
SOURCES/clsecureboot001.cer
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -13,9 +13,9 @@
|
|||||||
%global shimefix64 %{expand:%{SOURCE22}}
|
%global shimefix64 %{expand:%{SOURCE22}}
|
||||||
#%%global shimefiarm %%{expand:%%{SOURCE23}
|
#%%global shimefiarm %%{expand:%%{SOURCE23}
|
||||||
|
|
||||||
%global shimveraa64 15-7.el8_1
|
%global shimveraa64 15-6.el9.alma
|
||||||
%global shimveria32 15.6-1.el8
|
%global shimveria32 15.4-4.el9.alma
|
||||||
%global shimverx64 15.6-1.el8
|
%global shimverx64 15.4-4.el9.alma
|
||||||
#%%global shimverarm 15-1.el8
|
#%%global shimverarm 15-1.el8
|
||||||
|
|
||||||
%global shimdiraa64 %{_datadir}/shim/%{shimveraa64}/aa64
|
%global shimdiraa64 %{_datadir}/shim/%{shimveraa64}/aa64
|
||||||
@ -48,6 +48,7 @@ Requires: mokutil >= 1:0.3.0-1 \
|
|||||||
Requires: efi-filesystem \
|
Requires: efi-filesystem \
|
||||||
Provides: shim-signed-%{-a*} = %{version}-%{release} \
|
Provides: shim-signed-%{-a*} = %{version}-%{release} \
|
||||||
Requires: dbxtool >= 0.6-3 \
|
Requires: dbxtool >= 0.6-3 \
|
||||||
|
Requires: %{efi_esp_dir}/grub%{-a*}.efi \
|
||||||
%{expand:%%if 0%%{-p*} \
|
%{expand:%%if 0%%{-p*} \
|
||||||
Provides: shim = %{version}-%{release} \
|
Provides: shim = %{version}-%{release} \
|
||||||
Provides: shim-signed = %{version}-%{release} \
|
Provides: shim-signed = %{version}-%{release} \
|
||||||
@ -90,7 +91,7 @@ version signed by the UEFI signing service. \
|
|||||||
# -i <input>
|
# -i <input>
|
||||||
%define distrosign(b:a:d:) \
|
%define distrosign(b:a:d:) \
|
||||||
cp -av %{-d*}/%{-b*}%{-a*}.efi %{-b*}%{-a*}-unsigned.efi \
|
cp -av %{-d*}/%{-b*}%{-a*}.efi %{-b*}%{-a*}-unsigned.efi \
|
||||||
%{expand:%%sign -i %{-b*}%{-a*}-unsigned.efi -o %{-b*}%{-a*}-signed.efi -n redhatsecureboot501 -a %{SOURCE2} -c %{SOURCE1} }\
|
%{expand:%%sign -i %{-b*}%{-a*}-unsigned.efi -o %{-b*}%{-a*}-signed.efi -n clsecureboot001 -a %{SOURCE1} -c %{SOURCE1} }\
|
||||||
%{nil}
|
%{nil}
|
||||||
|
|
||||||
# -a <efiarch>
|
# -a <efiarch>
|
||||||
|
|||||||
@ -1,6 +1,11 @@
|
|||||||
|
%global dist %{?dist}.alma
|
||||||
|
%global efi_vendor almalinux
|
||||||
|
%global efidir almalinux
|
||||||
|
%global efi_esp_dir /boot/efi/EFI/%{efidir}
|
||||||
|
|
||||||
Name: shim
|
Name: shim
|
||||||
Version: 15.6
|
Version: 15.4
|
||||||
Release: 1%{?dist}
|
Release: 2%{?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/
|
||||||
@ -14,8 +19,7 @@ ExcludeArch: %{ix86}
|
|||||||
ExcludeArch: %{arm}
|
ExcludeArch: %{arm}
|
||||||
|
|
||||||
Source0: shim.rpmmacros
|
Source0: shim.rpmmacros
|
||||||
Source1: redhatsecureboot501.cer
|
Source1: clsecureboot001.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, ...
|
||||||
@ -101,9 +105,12 @@ install -m 0700 %{shimefi} $RPM_BUILD_ROOT%{efi_esp_dir}/shim.efi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Jun 06 2022 Peter Jones <pjones@redhat.com> - 15.6-1
|
* Wed Apr 21 2021 Andrew Lukoshko <alukoshko@almalinux.org> - 15.4-2.alma
|
||||||
- Update to shim-15.6
|
- Update to upstream 15.4 version
|
||||||
Resolves: CVE-2022-28737
|
- Add support for Secure Boot
|
||||||
|
|
||||||
|
* Mon Mar 15 2021 Andrei Lukoshko <alukoshko@almalinux.org> - 15-16.alma.1
|
||||||
|
- AlmaLinux changes
|
||||||
|
|
||||||
* Mon Sep 21 2020 Javier Martinez Canillas <javierm@redhat.com> - 15-16
|
* Mon Sep 21 2020 Javier Martinez Canillas <javierm@redhat.com> - 15-16
|
||||||
- Fix an incorrect allocation size
|
- Fix an incorrect allocation size
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user