summaryrefslogtreecommitdiffstats
path: root/units/systemd-tpm2-setup-early.service.in
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2024-03-17 12:34:50 +0100
committerDaan De Meyer <daan.j.demeyer@gmail.com>2024-03-17 13:34:51 +0100
commit966e05af048bd388921de88ec1a550856b8d4280 (patch)
treecf1a0b825fc75f604245a207a5520f6c053ec704 /units/systemd-tpm2-setup-early.service.in
parentunits: Accept modules_load and rd.modules_load in systemd-modules-load.service (diff)
downloadsystemd-966e05af048bd388921de88ec1a550856b8d4280.tar.xz
systemd-966e05af048bd388921de88ec1a550856b8d4280.zip
tpm2-setup: Add --graceful
Currently the associated units fail if full tpm support is not available on the system. Similar to systemd-pcrextend, let's add a --graceful option that exits gracefully if no full TPM support is detected and use it in both units.
Diffstat (limited to 'units/systemd-tpm2-setup-early.service.in')
-rw-r--r--units/systemd-tpm2-setup-early.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/systemd-tpm2-setup-early.service.in b/units/systemd-tpm2-setup-early.service.in
index 2b0f8979ac..9574ffd289 100644
--- a/units/systemd-tpm2-setup-early.service.in
+++ b/units/systemd-tpm2-setup-early.service.in
@@ -20,4 +20,4 @@ After=tpm2.target
[Service]
Type=oneshot
RemainAfterExit=yes
-ExecStart={{LIBEXECDIR}}/systemd-tpm2-setup --early=yes
+ExecStart={{LIBEXECDIR}}/systemd-tpm2-setup --early=yes --graceful