From ad7ac020357a2c885daaa9870b438e416d9a0a85 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 22 Apr 2024 15:15:05 +0200 Subject: units: merge two After= lines --- units/systemd-tpm2-setup.service.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'units') diff --git a/units/systemd-tpm2-setup.service.in b/units/systemd-tpm2-setup.service.in index df6860670a..0af7292528 100644 --- a/units/systemd-tpm2-setup.service.in +++ b/units/systemd-tpm2-setup.service.in @@ -12,12 +12,11 @@ Description=TPM SRK Setup Documentation=man:systemd-tpm2-setup.service(8) DefaultDependencies=no Conflicts=shutdown.target -After=systemd-tpm2-setup-early.service systemd-remount-fs.service +After=tpm2.target 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 ConditionPathExists=!/etc/initrd-release -After=tpm2.target [Service] Type=oneshot -- cgit v1.2.3