summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2013-11-19 13:02:03 (GMT)
committer Peter Korsgaard <peter@korsgaard.com>2013-11-26 15:12:38 (GMT)
commitd08ba19c8102be8650906e4d874459ad2622f38c (patch)
tree7a6f2a8a5f3bf2ce544456a83e5d0b2c2e5c70a5
parentf2a2c4cce60b6fda5541ac5cb945abe9958c93eb (diff)
downloadbuildroot-d08ba19c8102be8650906e4d874459ad2622f38c.tar.gz
buildroot-d08ba19c8102be8650906e4d874459ad2622f38c.tar.bz2
dbus: only install initscript for sysV targets
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/dbus/dbus.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/dbus/dbus.mk b/package/dbus/dbus.mk
index e241247..560f63e 100644
--- a/package/dbus/dbus.mk
+++ b/package/dbus/dbus.mk
@@ -75,11 +75,15 @@ define DBUS_INSTALL_TARGET_FIXUP
mkdir -p $(TARGET_DIR)/var/lib
rm -rf $(TARGET_DIR)/var/lib/dbus
ln -sf /tmp/dbus $(TARGET_DIR)/var/lib/dbus
- $(INSTALL) -m 0755 -D package/dbus/S30dbus $(TARGET_DIR)/etc/init.d/S30dbus
endef
DBUS_POST_INSTALL_TARGET_HOOKS += DBUS_INSTALL_TARGET_FIXUP
+define DBUS_INSTALL_INIT_SYSV
+ $(INSTALL) -m 0755 -D package/dbus/S30dbus \
+ $(TARGET_DIR)/etc/init.d/S30dbus
+endef
+
HOST_DBUS_DEPENDENCIES = host-pkgconf host-expat
HOST_DBUS_CONF_OPT = \
--with-dbus-user=dbus \