Add make recipe for wpa supplicant config

This commit is contained in:
Lynn Ochs 2021-03-09 18:16:01 +01:00
parent a01f2ffdeb
commit 79bf66b382

View File

@ -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