]> git.ipfire.org Git - thirdparty/systemd.git/commit - units/systemd-tpm2-setup-early.service.in
tpm2-setup: Add --graceful
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sun, 17 Mar 2024 11:34:50 +0000 (12:34 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Sun, 17 Mar 2024 12:34:51 +0000 (13:34 +0100)
commit966e05af048bd388921de88ec1a550856b8d4280
treecf1a0b825fc75f604245a207a5520f6c053ec704
parentc0aeff4b999318d4da48328fff0ea93c8c457ace
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.
src/tpm2-setup/tpm2-setup.c
units/systemd-tpm2-setup-early.service.in
units/systemd-tpm2-setup.service.in