summaryrefslogtreecommitdiff
path: root/units/initrd-switch-root.target
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2020-07-29 16:30:28 +0200
committerLennart Poettering <lennart@poettering.net>2020-07-29 16:32:45 +0200
commitb89f5f7b038c1b2a5f8035d6f992360e3319b215 (patch)
treef6955ec0c6b3c435afe4de066764b812774f8989 /units/initrd-switch-root.target
parent78490efca3a2854f9ac75f25eb8114432f555f2f (diff)
downloadsystemd-b89f5f7b038c1b2a5f8035d6f992360e3319b215.tar.gz
units: downgrade Requires= to Wants=
Combining Requires= with Before= doesn't really make sense, since this means we are requiring something that runs after us, which logically cannot be fulfilled. Let's hence downgrade Requires= to Wants= so that the ordering is kept but no failure propagation implied.
Diffstat (limited to 'units/initrd-switch-root.target')
-rw-r--r--units/initrd-switch-root.target2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/initrd-switch-root.target b/units/initrd-switch-root.target
index 2723b5af7f..32ff40a3f6 100644
--- a/units/initrd-switch-root.target
+++ b/units/initrd-switch-root.target
@@ -11,7 +11,7 @@
Description=Switch Root
AssertPathExists=/etc/initrd-release
DefaultDependencies=no
-Requires=initrd-switch-root.service
+Wants=initrd-switch-root.service
Before=initrd-switch-root.service
AllowIsolate=yes
Wants=initrd-udevadm-cleanup-db.service initrd-root-fs.target initrd-fs.target systemd-journald.service initrd-cleanup.service