mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
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>
(cherry picked from commit 7ae3bac516)
This commit is contained in:
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
PKG_NAME:=usbmuxd
|
PKG_NAME:=usbmuxd
|
||||||
PKG_SOURCE_DATE:=2020-01-20
|
PKG_SOURCE_DATE:=2020-01-20
|
||||||
PKG_SOURCE_VERSION:=8a69f1a78a58476f77b66916091d2405d0cd815f
|
PKG_SOURCE_VERSION:=8a69f1a78a58476f77b66916091d2405d0cd815f
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
PKG_SOURCE_URL=https://github.com/libimobiledevice/usbmuxd
|
PKG_SOURCE_URL=https://github.com/libimobiledevice/usbmuxd
|
||||||
@@ -49,7 +49,7 @@ define Package/usbmuxd/conffiles
|
|||||||
/etc/lockdown/SystemConfiguration.plist
|
/etc/lockdown/SystemConfiguration.plist
|
||||||
endef
|
endef
|
||||||
|
|
||||||
CONFIGURE_ARGS += --without-systemd
|
CONFIGURE_ARGS += --with-systemd
|
||||||
|
|
||||||
define Package/usbmuxd/install
|
define Package/usbmuxd/install
|
||||||
$(INSTALL_DIR) $(1)/etc/init.d
|
$(INSTALL_DIR) $(1)/etc/init.d
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ PROG=/usr/sbin/usbmuxd
|
|||||||
|
|
||||||
start_service() {
|
start_service() {
|
||||||
procd_open_instance
|
procd_open_instance
|
||||||
procd_set_param command $PROG -f
|
procd_set_param command $PROG --systemd
|
||||||
procd_set_param stderr 1
|
procd_set_param stderr 1
|
||||||
procd_close_instance
|
procd_close_instance
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user