From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from gallifrey.ext.pengutronix.de ([2001:6f8:1178:4:5054:ff:fe8d:eefb] helo=localhost) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1SZdKr-00080P-Dn for ptxdist@pengutronix.de; Wed, 30 May 2012 09:28:49 +0200 From: Juergen Beisert Date: Wed, 30 May 2012 09:27:30 +0200 MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201205300927.30273.jbe@pengutronix.de> Subject: [ptxdist] [PATCH 2/2] networkmanager: provide 'iptables' Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de 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 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 ptxdist@pengutronix.de