mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-26 03:50:44 -09:00
package/network-manager: set "nft" path if BR2_PACKAGE_NFTABLES=y
Nftables should be preferred over iptables if available, which NetworkManager will do if both paths are set. Signed-off-by: Fiona Klute (WIWA) <fiona.klute@gmx.de> Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
5e3114cd2f
commit
7c8cca9baa
@@ -131,6 +131,10 @@ else
|
||||
NETWORK_MANAGER_CONF_OPTS += -Dnmtui=false
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_NFTABLES),y)
|
||||
NETWORK_MANAGER_CONF_OPTS += -Dnft=/usr/sbin/nft
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OFONO),y)
|
||||
NETWORK_MANAGER_DEPENDENCIES += ofono
|
||||
NETWORK_MANAGER_CONF_OPTS += -Dofono=true
|
||||
|
||||
Reference in New Issue
Block a user