dbus: ensure startup script is well installed
authorLionel Landwerlin <llandwerlin@gmail.com>
Thu, 9 Dec 2010 09:55:00 +0000 (10:55 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 12 Dec 2010 23:13:55 +0000 (00:13 +0100)
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>
CHANGES
package/dbus/dbus.mk

diff --git a/CHANGES b/CHANGES
index 142b654ee963548e3a224adfa4963566269291af..e625d5934b70bfdd699a07f425bd375881d61271 100644 (file)
--- 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
 
index 182028641343b0ade5d7c929e68b1eb7c5074a43..f485ceb3e49b0a3bb6d2146bcb6d0ca406fb0f49 100644 (file)
@@ -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