]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - units/systemd-tpm2-setup-early.service.in
tpm2-setup-early: order against pcrphase-initrd
[thirdparty/systemd.git] / units / systemd-tpm2-setup-early.service.in
index 9574ffd2895fe98d103b1f5848b2eb015a037342..9982c84aba086284be30b82f2d5adb48022b212a 100644 (file)
@@ -12,10 +12,10 @@ Description=Early TPM SRK Setup
 Documentation=man:systemd-tpm2-setup.service(8)
 DefaultDependencies=no
 Conflicts=shutdown.target
+After=tpm2.target systemd-pcrphase-initrd.service
 Before=sysinit.target shutdown.target
 ConditionSecurity=measured-uki
 ConditionPathExists=!/run/systemd/tpm2-srk-public-key.pem
-After=tpm2.target
 
 [Service]
 Type=oneshot