summaryrefslogtreecommitdiffstats
path: root/units/systemd-pcrphase-initrd.service.in
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2023-09-27 12:13:26 +0200
committerLennart Poettering <lennart@poettering.net>2023-09-27 12:13:26 +0200
commit8506bf494da2a6b92e8bf56d30eef734dbeef813 (patch)
tree56860a1ba213dc27a3f7758fef20573a19693277 /units/systemd-pcrphase-initrd.service.in
parentcondition: add ConditionSecurity=measured-uki (diff)
downloadsystemd-8506bf494da2a6b92e8bf56d30eef734dbeef813.tar.xz
systemd-8506bf494da2a6b92e8bf56d30eef734dbeef813.zip
units: move units over to ConditionSecurity=measured-uki
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