usbmuxd: enable systemd support

This is needed as the options loop is totally broken and doesn't accept
both -f and -z together.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2020-02-06 16:03:43 -08:00
parent fc79b1bce5
commit 7ae3bac516
No known key found for this signature in database
GPG Key ID: 36D31CFA845F0E3B
2 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=usbmuxd
PKG_SOURCE_DATE:=2020-01-20
PKG_SOURCE_VERSION:=8a69f1a78a58476f77b66916091d2405d0cd815f
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL=https://github.com/libimobiledevice/usbmuxd
@ -49,7 +49,7 @@ define Package/usbmuxd/conffiles
/etc/lockdown/SystemConfiguration.plist
endef
CONFIGURE_ARGS += --without-systemd
CONFIGURE_ARGS += --with-systemd
define Package/usbmuxd/install
$(INSTALL_DIR) $(1)/etc/init.d

View File

@ -7,7 +7,7 @@ PROG=/usr/sbin/usbmuxd
start_service() {
procd_open_instance
procd_set_param command $PROG -f
procd_set_param command $PROG --systemd
procd_set_param stderr 1
procd_close_instance
}