diff --git a/SOURCES/redhatsecurebootca5.cer b/SOURCES/redhatsecurebootca5.cer deleted file mode 100644 index dfb0284..0000000 Binary files a/SOURCES/redhatsecurebootca5.cer and /dev/null differ diff --git a/SOURCES/sbat.msvsphere.csv b/SOURCES/sbat.msvsphere.csv new file mode 100644 index 0000000..604d3dc --- /dev/null +++ b/SOURCES/sbat.msvsphere.csv @@ -0,0 +1 @@ +shim.msvsphere,2,MSVSphere,shim,15.6,security@msvsphere.ru diff --git a/SOURCES/sbat.redhat.csv b/SOURCES/sbat.redhat.csv deleted file mode 100644 index 2135543..0000000 --- a/SOURCES/sbat.redhat.csv +++ /dev/null @@ -1 +0,0 @@ -shim.redhat,1,Red Hat Inc,shim,15.5,secalert@redhat.com diff --git a/SOURCES/spheresecurebootca.cer b/SOURCES/spheresecurebootca.cer new file mode 100644 index 0000000..4db57d7 Binary files /dev/null and b/SOURCES/spheresecurebootca.cer differ diff --git a/SPECS/shim-unsigned-x64.spec b/SPECS/shim-unsigned-x64.spec index c5317bc..bac5fc1 100644 --- a/SPECS/shim-unsigned-x64.spec +++ b/SPECS/shim-unsigned-x64.spec @@ -1,7 +1,7 @@ %global pesign_vre 0.106-1 %global openssl_vre 1.0.2j -%global efidir %(eval echo $(grep ^ID= /etc/os-release | sed -e 's/^ID=//' -e 's/rhel/redhat/')) +%global efidir msvsphere %global shimrootdir %{_datadir}/shim/ %global shimversiondir %{shimrootdir}/%{version}-%{release} %global efiarch x64 @@ -20,17 +20,17 @@ Name: shim-unsigned-%{efiarch} Version: 15.6 -Release: 1.el9 +Release: 1.el9.inferit Summary: First-stage UEFI bootloader ExclusiveArch: x86_64 License: BSD URL: https://github.com/rhboot/shim Source0: https://github.com/rhboot/shim/releases/download/%{version}/shim-%{version}.tar.bz2 -Source1: redhatsecurebootca5.cer +Source1: spheresecurebootca.cer %if 0%{?dbxfile} Source2: %{dbxfile} %endif -Source3: sbat.redhat.csv +Source3: sbat.msvsphere.csv Source4: shim.patches Source100: shim-find-debuginfo.sh @@ -158,8 +158,9 @@ cd .. %files debugsource -f build-%{efiarch}/debugsource.list %changelog -* Wed Mar 15 2023 MSVSphere Packaging Team - 15.6-1 -- Rebuilt for MSVSphere 9.1. +* Wed Mar 22 2023 Eugene Zamriy - 15.6-1.inferit +- Use MSVSphere vendor certificate and SBAT entry +- Rebuilt for MSVSphere 9.1 * Wed Jun 01 2022 Peter Jones - 15.6-1.el9 - Update to shim-15.6