Commit 732cb780 authored by Lionel Landwerlin's avatar Lionel Landwerlin Committed by Peter Korsgaard
Browse files

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: default avatarLionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 3b8d36c3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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
Original line number Diff line number Diff line
@@ -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