diff --git a/security/shim-unsigned/centos/build_srpm.data b/security/shim-unsigned/centos/build_srpm.data index 12805e870..665a1bfba 100644 --- a/security/shim-unsigned/centos/build_srpm.data +++ b/security/shim-unsigned/centos/build_srpm.data @@ -1,2 +1,2 @@ -TIS_PATCH_VER=2 +TIS_PATCH_VER=1 COPY_LIST="$PKG_BASE/files/tis-shim.crt" diff --git a/security/shim-unsigned/centos/meta_patches/0001-Ti-version-string.patch b/security/shim-unsigned/centos/meta_patches/0001-Ti-version-string.patch index b38f191c2..4d6df24fe 100644 --- a/security/shim-unsigned/centos/meta_patches/0001-Ti-version-string.patch +++ b/security/shim-unsigned/centos/meta_patches/0001-Ti-version-string.patch @@ -4,24 +4,22 @@ Date: Mon, 15 Jan 2018 13:09:41 -0500 Subject: [PATCH 1/2] Ti version string --- - SPECS/shim.spec | 2 +- + SPECS/shim-unsigned-x64.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) - mode change 100755 => 100644 SPECS/shim.spec -diff --git a/SPECS/shim.spec b/SPECS/shim.spec -old mode 100755 -new mode 100644 -index afd533b..de216b6 ---- a/SPECS/shim.spec -+++ b/SPECS/shim.spec -@@ -1,6 +1,6 @@ - Name: shim - Version: 15 --Release: 1%{?dist} -+Release: 1.el7%{?_tis_dist}.%{tis_patch_ver} - Summary: First-stage UEFI bootloader +diff --git a/SPECS/shim-unsigned-x64.spec b/SPECS/shim-unsigned-x64.spec +index 0261a47..aa45c33 100755 +--- a/SPECS/shim-unsigned-x64.spec ++++ b/SPECS/shim-unsigned-x64.spec +@@ -18,7 +18,7 @@ - License: BSD + Name: shim-unsigned-%{efiarch} + Version: 15 +-Release: 2%{?dist} ++Release: 2.el8%{?_tis_dist}.%{tis_patch_ver} + Summary: First-stage UEFI bootloader + ExclusiveArch: x86_64 + License: BSD -- -1.8.3.1 +2.7.4 diff --git a/security/shim-unsigned/centos/meta_patches/0002-Add-Ti-certificate.patch b/security/shim-unsigned/centos/meta_patches/0002-Add-Ti-certificate.patch index 33fb501ad..7dc68c827 100644 --- a/security/shim-unsigned/centos/meta_patches/0002-Add-Ti-certificate.patch +++ b/security/shim-unsigned/centos/meta_patches/0002-Add-Ti-certificate.patch @@ -4,43 +4,37 @@ Date: Mon, 15 Jan 2018 13:22:09 -0500 Subject: [PATCH 2/2] Add Ti certificate --- - SPECS/shim.spec | 4 ++++ + SPECS/shim-unsigned-x64.spec | 4 ++++ 1 file changed, 4 insertions(+) - mode change 100644 => 100755 SPECS/shim.spec -diff --git a/SPECS/shim.spec b/SPECS/shim.spec -old mode 100644 -new mode 100755 -index de216b6..83da6cd ---- a/SPECS/shim.spec -+++ b/SPECS/shim.spec -@@ -12,8 +12,10 @@ Source0: https://github.com/mjg59/shim/releases/download/%{version}/shim- - #Source3: dbx-aa64.esl - Source4: shim-find-debuginfo.sh - Source5: centos.esl +diff --git a/SPECS/shim-unsigned-x64.spec b/SPECS/shim-unsigned-x64.spec +index aa45c33..384d339 100755 +--- a/SPECS/shim-unsigned-x64.spec ++++ b/SPECS/shim-unsigned-x64.spec +@@ -30,12 +30,14 @@ Source1: centossecureboot001.der + Source2: dbx.esl + + Source100: shim-find-debuginfo.sh +Source1000: tis-shim.crt - Patch0: 0001-Add-vendor-esl.patch + Patch0001: 0001-Make-sure-that-MOK-variables-always-get-mirrored.patch + Patch0002: 0002-mok-fix-the-mirroring-of-RT-variables.patch + Patch0003: 0003-mok-consolidate-mirroring-code-in-a-helper-instead-o.patch + Patch0004: 0004-Make-VLogError-behave-as-expected.patch + Patch0005: 0005-MokListRT-Fatal.patch +Patch1000: 0001-Use-Titanium-certificate.patch - BuildRequires: git openssl-devel openssl - BuildRequires: pesign >= 0.106-1 -@@ -104,6 +106,7 @@ git commit -a -q -m "%{version} baseline." - git am --ignore-whitespace %{patches}