Marcus Meissner
7e145c37f7
swtpm is a Libtpms-based TPM emulator and useful to testing tpm functions in qemu. OBS-URL: https://build.opensuse.org/request/show/754264 OBS-URL: https://build.opensuse.org/package/show/security/swtpm?expand=0&rev=1
14 lines
581 B
Diff
14 lines
581 B
Diff
Index: swtpm-0.1.0-tpm2/configure.ac
|
|
===================================================================
|
|
--- swtpm-0.1.0-tpm2.orig/configure.ac
|
|
+++ swtpm-0.1.0-tpm2/configure.ac
|
|
@@ -160,7 +160,7 @@ AC_SUBST([LIBTPMS_LIBS])
|
|
AC_CHECK_LIB(c, clock_gettime, LIBRT_LIBS="", LIBRT_LIBS="-lrt")
|
|
AC_SUBST([LIBRT_LIBS])
|
|
|
|
-AC_PATH_PROG([TPM_NVDEFINE], tpm_nvdefine)
|
|
+AC_PATH_PROG([TPM_NVDEFINE], tpm_nvdefine, path = '/usr/sbin/')
|
|
if test "x$TPM_NVDEFINE" = "x"; then
|
|
have_tcsd=no
|
|
AC_MSG_WARN([NVRAM area tools are needed for TPM 1.2 certificate injection: tpm-tools package])
|