From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtprelay04.ispgateway.de ([80.67.31.32]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1SdGeN-0000IC-Ns for ptxdist@pengutronix.de; Sat, 09 Jun 2012 10:04:01 +0200 Received: from [88.217.120.15] (helo=localhost) by smtprelay04.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1SdGeN-0004jD-9c for ptxdist@pengutronix.de; Sat, 09 Jun 2012 10:03:59 +0200 From: Bernhard Walle Date: Sat, 9 Jun 2012 10:03:54 +0200 Message-Id: <1339229034-18380-2-git-send-email-bernhard@bwalle.de> In-Reply-To: <1339229034-18380-1-git-send-email-bernhard@bwalle.de> References: <1339229034-18380-1-git-send-email-bernhard@bwalle.de> Subject: [ptxdist] [PATCH 2/2] wpa_supplicant: Add /etc/wpa_supplicant.conf Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 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 Make it possible to install a custom /etc/wpa_supplicant.conf configuration file for the wpa_supplicant via install_alternative mechanism of ptxdist. The default file is just empty. Signed-off-by: Bernhard Walle --- rules/wpa_supplicant.make | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 generic/etc/wpa_supplicant.conf diff --git a/generic/etc/wpa_supplicant.conf b/generic/etc/wpa_supplicant.conf new file mode 100644 index 0000000..e69de29 diff --git a/rules/wpa_supplicant.make b/rules/wpa_supplicant.make index d54c6c9..56805be 100644 --- a/rules/wpa_supplicant.make +++ b/rules/wpa_supplicant.make @@ -134,6 +134,9 @@ ifdef PTXCONF_WPA_SUPPLICANT_CTRL_IFACE_DBUS /usr/share/dbus-1/system-services/fi.w1.wpa_supplicant1.service) endif + @$(call install_alternative, wpa_supplicant, 0, 0, 0644, \ + /etc/wpa_supplicant.conf) + @$(call install_finish, wpa_supplicant) @$(call touch) -- 1.7.9.5 -- ptxdist mailing list ptxdist@pengutronix.de