mirror of
https://git.yoctoproject.org/meta-security
synced 2026-01-12 03:10:13 +00:00
swtpm: fix check for tscd deamon on host
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
26
meta-tpm/recipes-tpm/swtpm/files/oe_configure.patch
Normal file
26
meta-tpm/recipes-tpm/swtpm/files/oe_configure.patch
Normal file
@@ -0,0 +1,26 @@
|
||||
Don't check for tscd deamon on host.
|
||||
|
||||
Upstream-Status: OE Specific
|
||||
|
||||
Signed-off-by: Armin Kuster <akuster808@gmail.com>
|
||||
|
||||
Index: git/configure.ac
|
||||
===================================================================
|
||||
--- git.orig/configure.ac
|
||||
+++ git/configure.ac
|
||||
@@ -179,14 +179,7 @@ AC_SUBST([LIBTPMS_LIBS])
|
||||
AC_CHECK_LIB(c, clock_gettime, LIBRT_LIBS="", LIBRT_LIBS="-lrt")
|
||||
AC_SUBST([LIBRT_LIBS])
|
||||
|
||||
-AC_PATH_PROG([TCSD], tcsd)
|
||||
-if test "x$TCSD" = "x"; then
|
||||
- have_tcsd=no
|
||||
- AC_MSG_WARN([tcsd could not be found; typically need it for tss user account and tests])
|
||||
-else
|
||||
- have_tcsd=yes
|
||||
-fi
|
||||
-AM_CONDITIONAL([HAVE_TCSD], test "$have_tcsd" != "no")
|
||||
+have_tcsd=no
|
||||
|
||||
dnl We either need netstat (more common across systems) or 'ss' for test cases
|
||||
AC_PATH_PROG([NETSTAT], [netstat])
|
||||
@@ -12,6 +12,7 @@ DEPENDS_append = " tpm-tools-native expect-native socat-native python3-pip-nativ
|
||||
SRCREV = "e59c0c1a7b4c8d652dbb280fd6126895a7057464"
|
||||
SRC_URI = "git://github.com/stefanberger/swtpm.git;branch=stable-0.5 \
|
||||
file://ioctl_h.patch \
|
||||
file://oe_configure.patch \
|
||||
"
|
||||
PE = "1"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user