integ/security/tboot/centos/meta_patches/0002-TiS-tboot.patch
chendongqi 80c20a281b CentOS 8: Upgrade tboot to version 1.9.7
(1)Release Version Upgrade
(2)Matching code changes with el7 to el8

Story: 2006729
Task: 37667
Change-Id: I5875bff0a222260e2630133d38cd0f4c9855cbb5
Signed-off-by: Dongqi Chen <chen.dq@neusoft.com>
2019-12-16 06:21:34 +00:00

36 lines
919 B
Diff

From 16a82ea84332a117c4524caaa4209b912e18e888 Mon Sep 17 00:00:00 2001
From: Bin Qian <bin.qian@windriver.com>
Date: Wed, 6 Dec 2017 08:47:12 -0500
Subject: [PATCH 1/1] TiS tboot
Signed-off-by: Dongqi Chen <chen.dq@neusoft.com>
---
SPECS/tboot.spec | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/SPECS/tboot.spec b/SPECS/tboot.spec
index c2d5eb7..f04dd17 100644
--- a/SPECS/tboot.spec
+++ b/SPECS/tboot.spec
@@ -9,6 +9,8 @@ License: BSD
URL: http://sourceforge.net/projects/tboot/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+Patch999: ../patches/1000-tboot-for-tis.patch
+
BuildRequires: trousers-devel
BuildRequires: openssl-devel
ExclusiveArch: %{ix86} x86_64
@@ -21,6 +23,8 @@ and verified launch of an OS kernel/VMM.
%prep
%setup -q
+%patch999 -p1
+
# do not override OPTFLAGS
sed -i -e 's/-march=i686//' Config.mk
--
1.8.3.1