summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorLionel Landwerlin <llandwerlin@gmail.com>2010-12-09 10:55:00 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2010-12-13 00:13:55 +0100
commit732cb780eeace7306702d3dedb7f54b47ef134ef (patch)
tree0c8fd2d333185722f5ed11fdd3a8c6244749c91f /package
parent3b8d36c3518e0cb41ff2e621ca1ff4215bc553d3 (diff)
dbus: ensure startup script is well installed
If /etc/init.d does not exist, we need to be sure that the dbus startup script is installed at the right place. Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r--package/dbus/dbus.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/dbus/dbus.mk b/package/dbus/dbus.mk
index 182028641..f485ceb3e 100644
--- a/package/dbus/dbus.mk
+++ b/package/dbus/dbus.mk
@@ -60,7 +60,7 @@ endif
define DBUS_INSTALL_TARGET_FIXUP
rm -rf $(TARGET_DIR)/var/lib/dbus
ln -sf /tmp/dbus $(TARGET_DIR)/var/lib/dbus
- $(INSTALL) -m 0755 package/dbus/S30dbus $(TARGET_DIR)/etc/init.d
+ $(INSTALL) -m 0755 -D package/dbus/S30dbus $(TARGET_DIR)/etc/init.d/S30dbus
endef
DBUS_POST_INSTALL_TARGET_HOOKS += DBUS_INSTALL_TARGET_FIXUP