units: pull in local-fs-pre.target from systemd-tmpfiles-setup-dev.service

local-fs-pre.target is a passive unit, which means that it is supposed to be
pulled in by everything that is ordered before it. We had
Before=local-fs-pre.target, so add Wants= too.

I don't expect this to change anything. Instead, just make things follow the
docs so it's easier to reason about the dependency set.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2023-05-31 15:44:44 +02:00
committed by Lennart Poettering
parent 38c86ce329
commit bec89355c5
+1
View File
@@ -13,6 +13,7 @@ Documentation=man:tmpfiles.d(5) man:systemd-tmpfiles(8)
DefaultDependencies=no
Before=sysinit.target local-fs-pre.target systemd-udevd.service
Wants=local-fs-pre.target
Conflicts=shutdown.target initrd-switch-root.target
Before=shutdown.target initrd-switch-root.target