From: Thomas Petazzoni Date: Sun, 30 Nov 2014 14:18:02 +0000 (+0100) Subject: input-event-daemon: use _INSTALL_INIT_SYSV mechanism X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e8dc7677521e1ccd48ee76c90ea09b07bf99dbc4;p=buildroot.git input-event-daemon: use _INSTALL_INIT_SYSV mechanism Also makes the installation of the init script unconditional. Signed-off-by: Thomas Petazzoni Acked-by: "Yann E. MORIN" Signed-off-by: Peter Korsgaard --- diff --git a/package/input-event-daemon/input-event-daemon.mk b/package/input-event-daemon/input-event-daemon.mk index 534fe90a9f..0bafdc4e1a 100644 --- a/package/input-event-daemon/input-event-daemon.mk +++ b/package/input-event-daemon/input-event-daemon.mk @@ -21,9 +21,11 @@ define INPUT_EVENT_DAEMON_INSTALL_TARGET_CMDS [ -f $(TARGET_DIR)/etc/input-event-daemon.conf ] || \ $(INSTALL) -m 644 -D $(@D)/docs/sample.conf \ $(TARGET_DIR)/etc/input-event-daemon.conf - [ -f $(TARGET_DIR)/etc/init.d/S99input-event-daemon ] || \ - $(INSTALL) -m 0755 -D package/input-event-daemon/S99input-event-daemon \ - $(TARGET_DIR)/etc/init.d/S99input-event-daemon +endef + +define INPUT_EVENT_DAEMON_INSTALL_INIT_SYSV + $(INSTALL) -m 0755 -D package/input-event-daemon/S99input-event-daemon \ + $(TARGET_DIR)/etc/init.d/S99input-event-daemon endef $(eval $(generic-package))