mirror of
https://github.com/systemd/systemd
synced 2024-07-21 02:05:05 +00:00
Revert "units: add ConditionSecurity=tpm2 to systemd-tpm2-setup units"
Now that the ConditionSecurity=uki-measured check is tighter we can drop
the explicit TPM2 check again.
This reverts commit aa735b0219
.
This commit is contained in:
parent
03d808c9f6
commit
9f32bb927c
|
@ -14,7 +14,6 @@ DefaultDependencies=no
|
|||
Conflicts=shutdown.target
|
||||
Before=sysinit.target shutdown.target
|
||||
ConditionSecurity=measured-uki
|
||||
ConditionSecurity=tpm2
|
||||
ConditionPathExists=!/run/systemd/tpm2-srk-public-key.pem
|
||||
|
||||
[Service]
|
||||
|
|
|
@ -16,7 +16,6 @@ After=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
|
||||
ConditionSecurity=tpm2
|
||||
ConditionPathExists=!/etc/initrd-release
|
||||
|
||||
[Service]
|
||||
|
|
Loading…
Reference in a new issue