summaryrefslogtreecommitdiffstats
path: root/units/systemd-pcrphase-initrd.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'units/systemd-pcrphase-initrd.service.in')
-rw-r--r--units/systemd-pcrphase-initrd.service.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/units/systemd-pcrphase-initrd.service.in b/units/systemd-pcrphase-initrd.service.in
index 357c7c5869..b337d602ba 100644
--- a/units/systemd-pcrphase-initrd.service.in
+++ b/units/systemd-pcrphase-initrd.service.in
@@ -14,8 +14,7 @@ DefaultDependencies=no
Conflicts=shutdown.target initrd-switch-root.target
Before=sysinit.target cryptsetup-pre.target cryptsetup.target shutdown.target initrd-switch-root.target systemd-sysext.service
ConditionPathExists=/etc/initrd-release
-ConditionSecurity=tpm2
-ConditionPathExists=/sys/firmware/efi/efivars/StubPcrKernelImage-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f
+ConditionSecurity=measured-uki
[Service]
Type=oneshot