summaryrefslogtreecommitdiffstats
path: root/units/systemd-pcrfs-root.service.in
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2023-07-17 10:11:54 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2023-07-17 14:24:46 +0200
commitf2aaa14d37e4257dd2f1fdc66063dc08a66d7f8b (patch)
treeda56baaa572d71aa8513e35611ca135a6694d31d /units/systemd-pcrfs-root.service.in
parentMerge pull request #28425 from weblate/weblate-systemd-master (diff)
downloadsystemd-f2aaa14d37e4257dd2f1fdc66063dc08a66d7f8b.tar.xz
systemd-f2aaa14d37e4257dd2f1fdc66063dc08a66d7f8b.zip
units: Add --graceful flag to pcrphase units
Some of the new units using systemd-pcrphase are missing the --graceful flag which causes them to error if the tpm libraries are not installed. Add --graceful just like in the other pcrphase units to make systemd-pcrphase exit gracefully if the tpm libraries are missing.
Diffstat (limited to 'units/systemd-pcrfs-root.service.in')
-rw-r--r--units/systemd-pcrfs-root.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/systemd-pcrfs-root.service.in b/units/systemd-pcrfs-root.service.in
index 432eb9fd8c..2fe1ec5008 100644
--- a/units/systemd-pcrfs-root.service.in
+++ b/units/systemd-pcrfs-root.service.in
@@ -21,4 +21,4 @@ ConditionPathExists=/sys/firmware/efi/efivars/StubPcrKernelImage-4a67b082-0a4c-4
[Service]
Type=oneshot
RemainAfterExit=yes
-ExecStart={{ROOTLIBEXECDIR}}/systemd-pcrphase --file-system=/
+ExecStart={{ROOTLIBEXECDIR}}/systemd-pcrphase --graceful --file-system=/