diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2013-11-19 10:02:03 -0300 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2013-11-26 16:12:38 +0100 |
commit | d08ba19c8102be8650906e4d874459ad2622f38c (patch) | |
tree | 7a6f2a8a5f3bf2ce544456a83e5d0b2c2e5c70a5 | |
parent | f2a2c4cce60b6fda5541ac5cb945abe9958c93eb (diff) |
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.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/package/dbus/dbus.mk b/package/dbus/dbus.mk index e2412478b..560f63e8d 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 \ |