functions: guide user torward resetting TPM more directly if counter_increment fails.

Signed-off-by: Thierry Laurion <insurgo@riseup.net>
This commit is contained in:
Thierry Laurion 2023-11-02 12:58:19 -04:00
parent 644a59ab60
commit 19c5d16e40
No known key found for this signature in database
GPG Key ID: E7B4A71658E36A93

View File

@ -272,7 +272,7 @@ increment_tpm_counter() {
TRACE "Under /etc/functions:increment_tpm_counter"
tpmr counter_increment -ix "$1" -pwdc '' |
tee /tmp/counter-$1 ||
die "TPM counter increment failed for rollback prevention. Please reflash firmware and choose TPM Reset reset option"
die "TPM counter increment failed for rollback prevention. Please reset the TPM"
}
check_config() {