浏览代码

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>
Lionel Landwerlin 14 年之前
父节点
当前提交
732cb780ee
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 2 2
      CHANGES
  2. 1 1
      package/dbus/dbus.mk

+ 2 - 2
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
 

+ 1 - 1
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