Skip to content

Commit 561126c

Browse files
committed
gui-init: remove TODO fixed in this PR
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
1 parent 0b4befa commit 561126c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

initrd/bin/gui-init

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -564,12 +564,11 @@ reset_tpm() {
564564

565565
TPM_COUNTER=$(cut -d: -f1 </tmp/counter)
566566
DEBUG "TPM_COUNTER: $TPM_COUNTER"
567-
#TODO was counter supposed to be empty and that was ok?!?!?!
567+
#TPM_COUNTER can be empty
568568

569569
DO_WITH_DEBUG increment_tpm_counter $TPM_COUNTER>/dev/null 2>&1 ||
570570
die "Unable to increment tpm counter"
571571

572-
#TODO: should this be here?
573572
DO_WITH_DEBUG sha256sum /tmp/counter-$TPM_COUNTER >/boot/kexec_rollback.txt ||
574573
die "Unable to create rollback file"
575574

0 commit comments

Comments
 (0)