We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b4befa commit 561126cCopy full SHA for 561126c
1 file changed
initrd/bin/gui-init
@@ -564,12 +564,11 @@ reset_tpm() {
564
565
TPM_COUNTER=$(cut -d: -f1 </tmp/counter)
566
DEBUG "TPM_COUNTER: $TPM_COUNTER"
567
- #TODO was counter supposed to be empty and that was ok?!?!?!
+ #TPM_COUNTER can be empty
568
569
DO_WITH_DEBUG increment_tpm_counter $TPM_COUNTER>/dev/null 2>&1 ||
570
die "Unable to increment tpm counter"
571
572
- #TODO: should this be here?
573
DO_WITH_DEBUG sha256sum /tmp/counter-$TPM_COUNTER >/boot/kexec_rollback.txt ||
574
die "Unable to create rollback file"
575
0 commit comments