From d08ba19c8102be8650906e4d874459ad2622f38c Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Tue, 19 Nov 2013 10:02:03 -0300 Subject: [PATCH] dbus: only install initscript for sysV targets Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- package/dbus/dbus.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package/dbus/dbus.mk b/package/dbus/dbus.mk index e2412478b5..560f63e8dd 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 \ -- 2.30.2