From: Harald Hoyer Date: Mon, 4 Mar 2013 18:03:05 +0000 (+0100) Subject: units/initrd-*: require initrd-fs.target rather than local-fs.target X-Git-Tag: upstream/198~86 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7d89ce303fb59743a4392eeb3110c00f100172ca;p=platform%2Fupstream%2Fsystemd.git units/initrd-*: require initrd-fs.target rather than local-fs.target --- diff --git a/units/initrd-cleanup.service b/units/initrd-cleanup.service index 8998696..061f803 100644 --- a/units/initrd-cleanup.service +++ b/units/initrd-cleanup.service @@ -10,8 +10,8 @@ Description=Cleaning Up and Shutting Down Daemons DefaultDependencies=no ConditionPathExists=/etc/initrd-release OnFailure=emergency.target -Requires=local-fs.target swap.target -After=local-fs.target swap.target +Requires=initrd-fs.target swap.target +After=initrd-fs.target swap.target [Service] Type=oneshot diff --git a/units/initrd-parse-etc.service b/units/initrd-parse-etc.service index 4bfbb0f..99e8c33 100644 --- a/units/initrd-parse-etc.service +++ b/units/initrd-parse-etc.service @@ -8,12 +8,13 @@ [Unit] Description=Reload Configuration from the Real Root DefaultDependencies=no -Requires=local-fs.target swap.target -After=local-fs.target swap.target +Requires=initrd-fs.target swap.target sysroot.mount +After=initrd-fs.target swap.target sysroot.mount OnFailure=emergency.target ConditionPathExists=/etc/initrd-release [Service] Type=oneshot ExecStartPre=/usr/bin/systemctl daemon-reload +ExecStart=/usr/bin/systemctl start initrd-fs.target ExecStart=/usr/bin/systemctl --no-block start initrd-cleanup.service diff --git a/units/initrd-switch-root.target b/units/initrd-switch-root.target index f706d29..ffadfc0 100644 --- a/units/initrd-switch-root.target +++ b/units/initrd-switch-root.target @@ -12,5 +12,5 @@ DefaultDependencies=no Requires=initrd-switch-root.service Before=initrd-switch-root.service AllowIsolate=yes -Wants=initrd-udevadm-cleanup-db.service local-fs.target swap.target systemd-journald.service -After=initrd-udevadm-cleanup-db.service local-fs.target swap.target emergency.service emergency.target +Wants=initrd-udevadm-cleanup-db.service initrd-fs.target swap.target systemd-journald.service +After=initrd-udevadm-cleanup-db.service initrd-fs.target swap.target emergency.service emergency.target