Compare commits

..

No commits in common. "d266d178ee1258e95256e310c83b6cb7d6a1e585" and "15ce23ca53f7df327375dfd1dd66c021758b25ea" have entirely different histories.

2 changed files with 3 additions and 4 deletions

View File

@ -34,7 +34,8 @@ root_overlay/bin/door.py: door_control/door.py
cp $< $@
root_overlay/etc/dropbear/dropbear_ecdsa_host_key:
sh -c 'if [[ ! -f $@ && ! -f $@.openssh ]]; then mkdir -p `dirname $@` && ssh-keygen -t ecdsa -f $@.openssh; fi'
mkdir -p `dirname $@`
ssh-keygen -t ecdsa -f $@
root_overlay/etc/wpa_supplicant/wpa_supplicant.conf:
mkdir -p `dirname $@`
@ -50,4 +51,4 @@ clean:
menuconfig:
make -C buildroot menuconfig
.PHONY: all clean sdcard.img menuconfig root_overlay root_overlay/etc/dropbear/dropbear_ecdsa_host_key
.PHONY: all clean sdcard.img menuconfig root_overlay

View File

@ -1,2 +0,0 @@
#!/bin/sh
[[ ! -f /etc/dropbear/dropbear_ecdsa_host_key && -f /etc/dropbear/host_key ]] && dropbearconvert openssh dropbear /etc/dropbear/host_key /etc/dropbear/dropbear_ecdsa_host_key