package/connman: adapt to systemctl preset-all
connman has two services * connman.service which is the real daemon * connman-wait-online.service which is a sync point for network-online.target Only the first one was enabled. This adaptation enables both. Not enabling connman-wait-online.service is probably a bug Signed-off-by: Jérémy Rosen <jeremy.rosen@smile.fr> [yann.morin.1998@free.fr: fix check-package errors] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
1640fca208
commit
f7869ef30f
@ -32,12 +32,6 @@ define CONNMAN_INSTALL_INIT_SYSV
|
||||
$(INSTALL) -m 0755 -D package/connman/S45connman $(TARGET_DIR)/etc/init.d/S45connman
|
||||
endef
|
||||
|
||||
define CONNMAN_INSTALL_INIT_SYSTEMD
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -fs ../../../../usr/lib/systemd/system/connman.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/connman.service
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_PACKAGE_CONNMAN_CLIENT),y)
|
||||
CONNMAN_LICENSE += , GPL-2.0+ (client)
|
||||
CONNMAN_CONF_OPTS += --enable-client
|
||||
|
Loading…
Reference in New Issue
Block a user