summaryrefslogtreecommitdiffstats
path: root/units
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2024-04-22 15:15:05 +0200
committerLennart Poettering <lennart@poettering.net>2024-04-22 15:15:05 +0200
commitad7ac020357a2c885daaa9870b438e416d9a0a85 (patch)
tree0c71a77d3b7f3c8d011dfe1fff5cceb4c72cc236 /units
parenttpm2-setup-early: order against pcrphase-initrd (diff)
downloadsystemd-ad7ac020357a2c885daaa9870b438e416d9a0a85.tar.xz
systemd-ad7ac020357a2c885daaa9870b438e416d9a0a85.zip
units: merge two After= lines
Diffstat (limited to 'units')
-rw-r--r--units/systemd-tpm2-setup.service.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/units/systemd-tpm2-setup.service.in b/units/systemd-tpm2-setup.service.in
index df6860670a..0af7292528 100644
--- a/units/systemd-tpm2-setup.service.in
+++ b/units/systemd-tpm2-setup.service.in
@@ -12,12 +12,11 @@ Description=TPM SRK Setup
Documentation=man:systemd-tpm2-setup.service(8)
DefaultDependencies=no
Conflicts=shutdown.target
-After=systemd-tpm2-setup-early.service systemd-remount-fs.service
+After=tpm2.target systemd-tpm2-setup-early.service systemd-remount-fs.service
Before=sysinit.target shutdown.target
RequiresMountsFor=/var/lib/systemd/tpm2-srk-public-key.pem
ConditionSecurity=measured-uki
ConditionPathExists=!/etc/initrd-release
-After=tpm2.target
[Service]
Type=oneshot