From 7257648854d395257843e449a0763c31150c48b9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 16 Sep 2024 20:09:07 +0200 Subject: Merging upstream version 256.1. Signed-off-by: Daniel Baumann --- units/systemd-tpm2-setup.service.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'units/systemd-tpm2-setup.service.in') diff --git a/units/systemd-tpm2-setup.service.in b/units/systemd-tpm2-setup.service.in index 0af7292..ac29a76 100644 --- a/units/systemd-tpm2-setup.service.in +++ b/units/systemd-tpm2-setup.service.in @@ -22,3 +22,6 @@ ConditionPathExists=!/etc/initrd-release Type=oneshot RemainAfterExit=yes ExecStart={{LIBEXECDIR}}/systemd-tpm2-setup --graceful + +# The tool returns 76 if the TPM cannot be accessed due to an authorization failure and we can't generate an SRK. +SuccessExitStatus=76 -- cgit v1.2.3