From 3a7d597900370b85db04c6a9c24fd82acadf3ab8 Mon Sep 17 00:00:00 2001 From: lareine Date: Fri, 18 Feb 2022 10:03:39 -0500 Subject: [PATCH] added startup to tpm reset added startup to tpm reset --- .ci/setup/container/tpm2_common.sh | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.ci/setup/container/tpm2_common.sh b/.ci/setup/container/tpm2_common.sh index cacea0f6..7de1d222 100755 --- a/.ci/setup/container/tpm2_common.sh +++ b/.ci/setup/container/tpm2_common.sh @@ -114,16 +114,16 @@ function resetTpm2Emulator { echo "clearing the TPM PCR values" - #pkill -f "tpm2-abrmd" - #pkill -f "tpm_server" - rm /ibmtpm/src/NVChip - # /ibmtpm/src/./tpm_server & - # sleep 1 - # pushd /ibmtss/utils > /dev/null - # ./startup - # sleep 1 - # popd > /dev/null - # tpm2-abrmd -t socket & + pkill -f "tpm2-abrmd" + pkill -f "tpm_server" + rm -f /ibmtpm/src/NVChip + /ibmtpm/src/./tpm_server & + sleep 1 + pushd /ibmtss/utils > /dev/null + ./startup + sleep 1 + popd > /dev/null + tpm2-abrmd -t socket & } # Function to update the hirs-site.config file