]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - units/systemd-pcrphase.service.in
units: add a tpm2.target synchronization point and small generator that pulls in
[thirdparty/systemd.git] / units / systemd-pcrphase.service.in
index 88d41c2c5d52f2513b0194ee55a4000a9c2c149a..26b9e5c5389114cb26f1cadb20a448d90d1459c0 100644 (file)
 [Unit]
 Description=TPM2 PCR Barrier (User)
 Documentation=man:systemd-pcrphase.service(8)
-After=remote-fs.target remote-cryptsetup.target
+After=remote-fs.target remote-cryptsetup.target tpm2.target
 Before=systemd-user-sessions.service
 ConditionPathExists=!/etc/initrd-release
-ConditionSecurity=tpm2
-ConditionPathExists=/sys/firmware/efi/efivars/StubPcrKernelImage-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f
+ConditionSecurity=measured-uki
 
 [Service]
 Type=oneshot