Add make recipe for wpa supplicant config
This commit is contained in:
parent
a01f2ffdeb
commit
79bf66b382
6
Makefile
6
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/etc/dropbear/dropbear_ecdsa_host_key
|
||||||
root_overlay: root_overlay/root/.ssh/authorized_keys
|
root_overlay: root_overlay/root/.ssh/authorized_keys
|
||||||
root_overlay: root_overlay/root/key
|
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
|
root_overlay/root/.ssh/authorized_keys: ~/.ssh/id_rsa.pub
|
||||||
cp ^< $@
|
cp ^< $@
|
||||||
|
@ -35,6 +36,11 @@ root_overlay/etc/dropbear/dropbear_ecdsa_host_key:
|
||||||
mkdir -p `dirname $@`
|
mkdir -p `dirname $@`
|
||||||
ssh-keygen -t ecdsa -f $@
|
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:
|
clean:
|
||||||
make -C buildroot clean
|
make -C buildroot clean
|
||||||
rm -f sdcard.img
|
rm -f sdcard.img
|
||||||
|
|
Loading…
Reference in New Issue
Block a user