From f4d2d927fddb59e0648442b03ccac234742f1d42 Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Sat, 4 Dec 2021 17:54:11 -0700 Subject: [PATCH] package/network-manager: add optional polkit support Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni --- package/network-manager/network-manager.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/network-manager/network-manager.mk b/package/network-manager/network-manager.mk index 91bc6479b8..7213b69e15 100644 --- a/package/network-manager/network-manager.mk +++ b/package/network-manager/network-manager.mk @@ -105,6 +105,13 @@ else NETWORK_MANAGER_CONF_OPTS += --without-modem-manager-1 endif +ifeq ($(BR2_PACKAGE_POLKIT),y) +NETWORK_MANAGER_DEPENDENCIES += polkit +NETWORK_MANAGER_CONF_OPTS += --enable-polkit +else +NETWORK_MANAGER_CONF_OPTS += --disable-polkit +endif + ifeq ($(BR2_PACKAGE_DHCP_CLIENT),y) NETWORK_MANAGER_CONF_OPTS += --with-dhclient=/sbin/dhclient endif