summaryrefslogtreecommitdiff
path: root/strata/connectivity/wpa_supplicant.morph
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2016-08-02 13:48:39 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2016-08-02 14:09:03 +0000
commit1010144ed319e675e713eda24c6a0500915c949c (patch)
tree2e7e42ce0e2f1554ed36eb7dc75d926269412f77 /strata/connectivity/wpa_supplicant.morph
parent762515dc96d1a31eb3a72bb38f721d55a8082d34 (diff)
downloaddefinitions-1010144ed319e675e713eda24c6a0500915c949c.tar.gz
connectivity: Create wpa_supplicant configuration file in-line
Change-Id: I437d03051f1c9a52147d2640ed025d4bbd6de3ce
Diffstat (limited to 'strata/connectivity/wpa_supplicant.morph')
-rw-r--r--strata/connectivity/wpa_supplicant.morph30
1 files changed, 29 insertions, 1 deletions
diff --git a/strata/connectivity/wpa_supplicant.morph b/strata/connectivity/wpa_supplicant.morph
index 86a51608..3fdc68a2 100644
--- a/strata/connectivity/wpa_supplicant.morph
+++ b/strata/connectivity/wpa_supplicant.morph
@@ -1,7 +1,35 @@
name: wpa_supplicant
kind: chunk
configure-commands:
-- sed -i 's/^CONFIG_READLINE=y$//' wpa_supplicant/.config
+- |
+ cat >"wpa_supplicant/.config" <<EOF
+ CONFIG_DRIVER_HOSTAP=y
+ CONFIG_DRIVER_ATMEL=y
+ CONFIG_DRIVER_WEXT=y
+ CONFIG_DRIVER_NL80211=y
+ CONFIG_DRIVER_WIRED=y
+ CONFIG_IEEE8021X_EAPOL=y
+ CONFIG_EAP_MD5=y
+ CONFIG_EAP_MSCHAPV2=y
+ CONFIG_EAP_TLS=y
+ CONFIG_EAP_PEAP=y
+ CONFIG_EAP_TTLS=y
+ CONFIG_EAP_GTC=y
+ CONFIG_EAP_OTP=y
+ CONFIG_EAP_LEAP=y
+ CONFIG_WPS=y
+ CONFIG_PKCS12=y
+ CONFIG_SMARTCARD=y
+ CONFIG_CTRL_IFACE=y
+ CONFIG_BACKEND=file
+ CONFIG_PEERKEY=y
+ CONFIG_CTRL_IFACE_DBUS=y
+ CONFIG_CTRL_IFACE_DBUS_NEW=y
+ CONFIG_CTRL_IFACE_DBUS_INTRO=y
+ CONFIG_LIBNL32=y
+ CONFIG_IPV6=y
+ CFLAGS += -I/usr/include/libnl3
+ EOF
build-commands:
- make -C wpa_supplicant
install-commands: