The 'configure' guesses the path to the iptables tool, based on the host
filesystem. This fails if no 'iptables' is installed with:
checking for iptables... no
configure: error: iptables was not installed.
The path setting here corresponds to the iptables rule file.
Signed-off-by: Juergen Beisert <[email protected]>
diff --git a/rules/networkmanager.in b/rules/networkmanager.in
index 2c08fea..e1fd634 100644
--- a/rules/networkmanager.in
+++ b/rules/networkmanager.in
@@ -14,6 +14,9 @@ menuconfig NETWORKMANAGER
select GNUTLS
select HOST_INTLTOOL
select DBUS_PYTHON if NETWORKMANAGER_EXAMPLES
+ select IPTABLES
+# for the 'iptables' tool
+ select IPTABLES_IPV4
prompt "networkmanager "
help
NetworkManager is a tool to automate network configuration as far as
diff --git a/rules/networkmanager.make b/rules/networkmanager.make
index f823285..1a65268 100644
--- a/rules/networkmanager.make
+++ b/rules/networkmanager.make
@@ -51,7 +51,8 @@ NETWORKMANAGER_CONF_OPT := \
--with-distro=debian \
--with-dhclient=no \
--with-dhcpcd=no \
- --with-resolvconf=no
+ --with-resolvconf=no \
+ --with-iptables=/usr/sbin
# ----------------------------------------------------------------------------
# Install
--
Pengutronix e.K. | Juergen Beisert |
Linux Solutions for Science and Industry | http://www.pengutronix.de/ |
--
ptxdist mailing list
[email protected]