summaryrefslogtreecommitdiff
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
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>
-rw-r--r--CHANGES4
-rw-r--r--package/dbus/dbus.mk2
2 files changed, 3 insertions, 3 deletions
diff --git a/CHANGES b/CHANGES
index 142b654ee..e625d5934 100644
--- a/CHANGES
+++ b/CHANGES
@@ -3,8 +3,8 @@
Ccache support reworked. Now used for both host and target
compilation, and cache is stored in ~/.buildroot-ccache.
- Updated/fixed packages: busybox, cloop, gdk-pixbuf, libconfig,
- m4, openssh, openssl, qt, usbutils, xz, zlib
+ Updated/fixed packages: busybox, dbus, cloop, gdk-pixbuf,
+ libconfig, m4, openssh, openssl, qt, usbutils, xz, zlib
New packages: dhrystone, lsuio, rsh-redone, whetstone
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