summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2013-03-11 07:17:39 +0100
committerMichael Biebl <biebl@debian.org>2013-03-11 07:18:33 +0100
commitf432bb914499e2c28b43f592bb273f0a8664f352 (patch)
tree055b0840d30817c7c2842f835c7ee3de6cff6028 /units
parent0876dc1c26b123c3f955e0a34da6ab0375786cea (diff)
Move udevadm to rootbindir
The udevadm utility is needed during early boot, so move it to rootbindir to support split-/usr configurations.
Diffstat (limited to 'units')
-rw-r--r--units/initrd-udevadm-cleanup-db.service.in2
-rw-r--r--units/systemd-udev-settle.service.in2
-rw-r--r--units/systemd-udev-trigger.service.in2
3 files changed, 3 insertions, 3 deletions
diff --git a/units/initrd-udevadm-cleanup-db.service.in b/units/initrd-udevadm-cleanup-db.service.in
index b800c210db..5c6654efc4 100644
--- a/units/initrd-udevadm-cleanup-db.service.in
+++ b/units/initrd-udevadm-cleanup-db.service.in
@@ -15,4 +15,4 @@ Before=initrd-switch-root.target
[Service]
Type=oneshot
-ExecStart=-@bindir@/udevadm info --cleanup-db
+ExecStart=-@rootbindir@/udevadm info --cleanup-db
diff --git a/units/systemd-udev-settle.service.in b/units/systemd-udev-settle.service.in
index b631949648..8070559c18 100644
--- a/units/systemd-udev-settle.service.in
+++ b/units/systemd-udev-settle.service.in
@@ -27,4 +27,4 @@ ConditionCapability=CAP_MKNOD
Type=oneshot
TimeoutSec=180
RemainAfterExit=yes
-ExecStart=@bindir@/udevadm settle
+ExecStart=@rootbindir@/udevadm settle
diff --git a/units/systemd-udev-trigger.service.in b/units/systemd-udev-trigger.service.in
index 391f996930..bafea54573 100644
--- a/units/systemd-udev-trigger.service.in
+++ b/units/systemd-udev-trigger.service.in
@@ -16,4 +16,4 @@ ConditionCapability=CAP_MKNOD
[Service]
Type=oneshot
RemainAfterExit=yes
-ExecStart=@bindir@/udevadm trigger --type=subsystems --action=add ; @bindir@/udevadm trigger --type=devices --action=add
+ExecStart=@rootbindir@/udevadm trigger --type=subsystems --action=add ; @rootbindir@/udevadm trigger --type=devices --action=add