From: Jérémy Rosen Date: Mon, 16 Dec 2019 10:30:45 +0000 (+0100) Subject: package/connman: adapt to systemctl preset-all X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f7869ef30f0194ee5ce5db5ba49239bc2e1b9725;p=buildroot.git 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 [yann.morin.1998@free.fr: fix check-package errors] Signed-off-by: Yann E. MORIN --- diff --git a/package/connman/connman.mk b/package/connman/connman.mk index 7ca49726dd..2cbf3fe752 100644 --- a/package/connman/connman.mk +++ b/package/connman/connman.mk @@ -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