* [Buildroot] [git commit] package/network-manager: add optional nmcli support
@ 2022-08-21 15:27 Yann E. MORIN
0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2022-08-21 15:27 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=0b7e7bc70b3b7f3125aa0ef780f4fbf61cd6cd4b
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
The network-manager package builds the nmcli utility when the readline
package is enabled. However, this is not necessarily obvious to the
user. Therefore, this commit adds an explicit option to enable the nmcli
tool, which automatically selects readline.
Signed-off-by: Michael Fischer <mf@go-sys.de>
[yann.morin.1998@free.fr: rewrap commit log and help text]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
---
package/network-manager/Config.in | 8 +++++++-
package/network-manager/network-manager.mk | 2 +-
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/package/network-manager/Config.in b/package/network-manager/Config.in
index 39114daf18..1a11fc4270 100644
--- a/package/network-manager/Config.in
+++ b/package/network-manager/Config.in
@@ -33,6 +33,13 @@ config BR2_PACKAGE_NETWORK_MANAGER_TUI
help
This option enables terminal based UI
+config BR2_PACKAGE_NETWORK_MANAGER_CLI
+ bool "nmcli support"
+ select BR2_PACKAGE_READLINE
+ help
+ This option enables support for the NetworkManager Command
+ Line Interface
+
config BR2_PACKAGE_NETWORK_MANAGER_MODEM_MANAGER
bool "modem-manager support"
select BR2_PACKAGE_MODEM_MANAGER
@@ -50,7 +57,6 @@ config BR2_PACKAGE_NETWORK_MANAGER_OVS
select BR2_PACKAGE_JANSSON
help
This option enables support for OpenVSwitch
-
endif
comment "NetworkManager needs udev /dev management and a glibc toolchain w/ headers >= 4.6, dynamic library, wchar, threads, gcc >= 4.9"
diff --git a/package/network-manager/network-manager.mk b/package/network-manager/network-manager.mk
index 3c39ce7d6d..92997d1cb6 100644
--- a/package/network-manager/network-manager.mk
+++ b/package/network-manager/network-manager.mk
@@ -142,7 +142,7 @@ else
NETWORK_MANAGER_CONF_OPTS += --disable-polkit
endif
-ifeq ($(BR2_PACKAGE_READLINE),y)
+ifeq ($(BR2_PACKAGE_NETWORK_MANAGER_CLI),y)
NETWORK_MANAGER_DEPENDENCIES += readline
NETWORK_MANAGER_CONF_OPTS += --with-nmcli
else
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [git commit] package/network-manager: add optional nmcli support
@ 2022-08-21 15:22 Yann E. MORIN
0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2022-08-21 15:22 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=5238f51fc86714b9fe861edf6a48cf8952e5eeb7
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
The network-manager package builds the nmcli utility when the readline
package is enabled. However, this is not necessarily obvious to the
user. Therefore, this commit adds an explicit option to enable the nmcli
tool, which automatically selects readline.
Signed-off-by: Michael Fischer <mf@go-sys.de>
[yann.morin.1998@free.fr: rewrap commit log and help text]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
---
package/network-manager/Config.in | 8 +++++++-
package/network-manager/network-manager.mk | 2 +-
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/package/network-manager/Config.in b/package/network-manager/Config.in
index 39114daf18..1a11fc4270 100644
--- a/package/network-manager/Config.in
+++ b/package/network-manager/Config.in
@@ -33,6 +33,13 @@ config BR2_PACKAGE_NETWORK_MANAGER_TUI
help
This option enables terminal based UI
+config BR2_PACKAGE_NETWORK_MANAGER_CLI
+ bool "nmcli support"
+ select BR2_PACKAGE_READLINE
+ help
+ This option enables support for the NetworkManager Command
+ Line Interface
+
config BR2_PACKAGE_NETWORK_MANAGER_MODEM_MANAGER
bool "modem-manager support"
select BR2_PACKAGE_MODEM_MANAGER
@@ -50,7 +57,6 @@ config BR2_PACKAGE_NETWORK_MANAGER_OVS
select BR2_PACKAGE_JANSSON
help
This option enables support for OpenVSwitch
-
endif
comment "NetworkManager needs udev /dev management and a glibc toolchain w/ headers >= 4.6, dynamic library, wchar, threads, gcc >= 4.9"
diff --git a/package/network-manager/network-manager.mk b/package/network-manager/network-manager.mk
index 3c39ce7d6d..92997d1cb6 100644
--- a/package/network-manager/network-manager.mk
+++ b/package/network-manager/network-manager.mk
@@ -142,7 +142,7 @@ else
NETWORK_MANAGER_CONF_OPTS += --disable-polkit
endif
-ifeq ($(BR2_PACKAGE_READLINE),y)
+ifeq ($(BR2_PACKAGE_NETWORK_MANAGER_CLI),y)
NETWORK_MANAGER_DEPENDENCIES += readline
NETWORK_MANAGER_CONF_OPTS += --with-nmcli
else
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-09-11 8:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-21 15:27 [Buildroot] [git commit] package/network-manager: add optional nmcli support Yann E. MORIN
-- strict thread matches above, loose matches on Subject: below --
2022-08-21 15:22 Yann E. MORIN
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.