Bump buildroot to 2019.02
This commit is contained in:
6
bsp/buildroot/package/triggerhappy/S10triggerhappy
Executable file → Normal file
6
bsp/buildroot/package/triggerhappy/S10triggerhappy
Executable file → Normal file
@@ -1,18 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
NAME=thd
|
||||
DAEMON=/usr/sbin/$NAME
|
||||
PIDFILE=/var/run/$NAME.pid
|
||||
DAEMON_ARGS="--daemon --triggers /etc/triggerhappy/triggers.d --socket /var/run/thd.socket --pidfile $PIDFILE --user nobody /dev/input/event*"
|
||||
|
||||
# Sanity checks
|
||||
test -x $DAEMON || exit 0
|
||||
|
||||
[ -r /etc/default/triggerhappy ] && . /etc/default/triggerhappy
|
||||
|
||||
start() {
|
||||
printf "Starting $NAME: "
|
||||
start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- $DAEMON_ARGS \
|
||||
start-stop-daemon --start --quiet --pidfile $PIDFILE --exec /usr/sbin/thd -- $DAEMON_ARGS \
|
||||
&& echo "OK" || echo "FAIL"
|
||||
}
|
||||
|
||||
|
||||
@@ -10,6 +10,10 @@ TRIGGERHAPPY_LICENSE = GPL-3.0+
|
||||
TRIGGERHAPPY_LICENSE_FILES = COPYING
|
||||
TRIGGERHAPPY_DEPENDENCIES = host-pkgconf
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
|
||||
TRIGGERHAPPY_DEPENDENCIES += systemd
|
||||
endif
|
||||
|
||||
define TRIGGERHAPPY_BUILD_CMDS
|
||||
$(MAKE) $(TARGET_CONFIGURE_OPTS) PKGCONFIG="$(PKG_CONFIG_HOST_BINARY)" \
|
||||
-C $(@D) thd th-cmd
|
||||
|
||||
Reference in New Issue
Block a user