mirror of
https://github.com/systemd/systemd.git
synced 2026-11-06 05:17:24 +00:00
units: properly wait for swtpm to finish before the initrd transition
Hopefully fixes: #42936
This commit is contained in:
1 parent
fb15860051
commit
973b429eb4
1 file changed
+2
-2
@@ -11,11 +11,11 @@
|
||||
Description=Fallback Software TPM
|
||||
Documentation=man:systemd-tpm2-swtpm.service(8)
|
||||
DefaultDependencies=no
|
||||
Conflicts=shutdown.target
|
||||
Conflicts=shutdown.target initrd-switch-root.target
|
||||
After=systemd-sysusers.service
|
||||
Wants=modprobe@tpm_vtpm_proxy.service
|
||||
After=modprobe@tpm_vtpm_proxy.service
|
||||
Before=tpm2.target sysinit.target shutdown.target
|
||||
Before=tpm2.target sysinit.target shutdown.target initrd-switch-root.target
|
||||
|
||||
[Service]
|
||||
CapabilityBoundingSet=CAP_SYS_ADMIN
|
||||
|
||||
Reference in new issue
Block a user