From: Gustavo Zacarias Date: Tue, 19 Nov 2013 13:02:03 +0000 (-0300) Subject: dbus: only install initscript for sysV targets X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d08ba19c8102be8650906e4d874459ad2622f38c;p=buildroot.git dbus: only install initscript for sysV targets Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- 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 \