From 79bf66b38233f3c38d349cf0c3389b1f57ec9fb6 Mon Sep 17 00:00:00 2001 From: Valentin Ochs Date: Tue, 9 Mar 2021 18:16:01 +0100 Subject: [PATCH] Add make recipe for wpa supplicant config --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 88acb35..47e5e22 100644 --- a/Makefile +++ b/Makefile @@ -12,6 +12,7 @@ root_overlay: root_overlay/etc/door_tokens root_overlay: root_overlay/etc/dropbear/dropbear_ecdsa_host_key root_overlay: root_overlay/root/.ssh/authorized_keys root_overlay: root_overlay/root/key +root_overlay: root_overlay/etc/wpa_supplicant/wpa_supplicant.conf root_overlay/root/.ssh/authorized_keys: ~/.ssh/id_rsa.pub cp ^< $@ @@ -35,6 +36,11 @@ root_overlay/etc/dropbear/dropbear_ecdsa_host_key: mkdir -p `dirname $@` ssh-keygen -t ecdsa -f $@ +root_overlay/etc/wpa_supplicant/wpa_supplicant.conf: + mkdir -p `dirname $@` + @echo "Please enter the passphrase for the space wifi:" + wpa_passphrase Space > $@ + clean: make -C buildroot clean rm -f sdcard.img