This commit is contained in:
Pascal Vizeli
2018-03-31 17:02:11 +02:00
parent 0743f0315a
commit 5c029486e9
14 changed files with 24 additions and 57 deletions

View File

@@ -62,12 +62,6 @@ config BR2_PACKAGE_NETWORK_MANAGER_OVS
help
This option enables support for OpenVSwitch
config BR2_PACKAGE_NETWORK_MANAGER_WAIT_BOOT
bool "Wait on boot support"
depends on BR2_INIT_SYSTEMD
help
This option allow NetworkManager to wait on boot
endif
comment "NetworkManager needs udev /dev management and a glibc toolchain w/ headers >= 3.7, dynamic library"

View File

@@ -100,14 +100,11 @@ define NETWORK_MANAGER_INSTALL_INIT_SYSTEMD
ln -sf /usr/lib/systemd/system/NetworkManager.service \
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/NetworkManager.service
ln -sf /usr/lib/systemd/system/NetworkManager-wait-online.service \
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/NetworkManager-wait-online.service
ln -sf /usr/lib/systemd/system/NetworkManager-dispatcher.service \
$(TARGET_DIR)/etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service
if [ $(BR2_PACKAGE_NETWORK_MANAGER_WAIT_BOOT) == y ]; \
then \
ln -sf /usr/lib/systemd/system/NetworkManager-wait-online.service \
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/NetworkManager-wait-online.service; \
fi
endef
$(eval $(autotools-package))