[Buildroot] [PATCH 1/1] package/connman: enable connman-wait-online.service

James Hilliard james.hilliard1 at gmail.com
Thu Oct 31 19:28:37 UTC 2019


This is normally enabled by systemctl preset-all.

Signed-off-by: James Hilliard <james.hilliard1 at gmail.com>
---
 package/connman/connman.mk | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/package/connman/connman.mk b/package/connman/connman.mk
index 839bc7a0e2..f8466bc1cb 100644
--- a/package/connman/connman.mk
+++ b/package/connman/connman.mk
@@ -36,6 +36,9 @@ 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
+	mkdir -p $(TARGET_DIR)/etc/systemd/system/network-online.target.wants
+	ln -fs ../../../../usr/lib/systemd/system/connman-wait-online.service \
+		$(TARGET_DIR)/etc/systemd/system/network-online.target.wants/connman-wait-online.service
 endef
 
 ifeq ($(BR2_PACKAGE_CONNMAN_CLIENT),y)
-- 
2.20.1



More information about the buildroot mailing list