From be6bdee5399ea6cda5da1ac1b150752a559323b1 Mon Sep 17 00:00:00 2001 From: lareine Date: Tue, 22 Feb 2022 16:25:08 -0500 Subject: [PATCH] reset timeout set to one sec --- .ci/setup/container/tpm2_common.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.ci/setup/container/tpm2_common.sh b/.ci/setup/container/tpm2_common.sh index 13ef4b6d..9c065a36 100755 --- a/.ci/setup/container/tpm2_common.sh +++ b/.ci/setup/container/tpm2_common.sh @@ -114,10 +114,7 @@ function resetTpm2Emulator { echo "clearing the TPM PCR values" - rm -f /ibmtpm/src/NVChip - pushd /ibmtss/utils > /dev/null - ./shutdown - popd > /dev/null + rm -f /ibmtpm/src/NVChip pkill -f "tpm2-abrmd" pkill -f "tpm_server" @@ -129,7 +126,7 @@ function resetTpm2Emulator { popd > /dev/null tpm2-abrmd -t socket & -# sleep 1 + sleep 1 tpm2_pcrlist -g sha256 }