integ/security/shim-unsigned/centos/meta_patches/0002-Add-Ti-certificate.patch
Shuicheng Lin 0d0623c8d9 de-fuzz fuzzy patch in net-tools & shim-unsigned
It is introduced by CentOS 7.6 upgrade.

Story: 2004660
Task: 28705

Change-Id: I6184b8ab9213eb995eb409cfeef6153f4fb4233a
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
2019-01-03 23:56:53 +08:00

47 lines
1.2 KiB
Diff

From fb4da7f4d7d8e8565371ed236150de2e4bb47b95 Mon Sep 17 00:00:00 2001
From: root <root@yow-cgts4-lx.wrs.com>
Date: Mon, 15 Jan 2018 13:22:09 -0500
Subject: [PATCH 2/2] Add Ti certificate
---
SPECS/shim.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
+Source1000: tis-shim.crt
Patch0: 0001-Add-vendor-esl.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} </dev/null
git config --unset user.email
git config --unset user.name
+cp %{SOURCE1000} .
%ifarch x86_64
cd ..
@@ -118,6 +121,7 @@ git commit -a -q -m "%{version} baseline."
git am --ignore-whitespace %{patches} </dev/null
git config --unset user.email
git config --unset user.name
+cp %{SOURCE1000} .
%endif
%build
--
1.8.3.1