summaryrefslogtreecommitdiff
path: root/stretch-arm64-developer
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2017-01-31 11:40:22 +0100
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2017-01-31 11:40:22 +0100
commit50d87b281f5ea6d6dabe13dfccf43f37ec29c1eb (patch)
tree3aea80c96b4a7d9899ab4755f33682ab27b54c09 /stretch-arm64-developer
parent741e998382e7c66664576006b048c78daa1a341d (diff)
stretch-arm*: generates SSH DSA key
This is a workaround until https://bugs.debian.org/850614 is available in stretch. Without the DSA key, the ssh.service will fail to start at boot. Change-Id: I1f9e3fcfde5510e666a5c8b1b0007d37e704da08 Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Diffstat (limited to 'stretch-arm64-developer')
-rwxr-xr-xstretch-arm64-developer/customization/includes.chroot/etc/rc.local3
1 files changed, 3 insertions, 0 deletions
diff --git a/stretch-arm64-developer/customization/includes.chroot/etc/rc.local b/stretch-arm64-developer/customization/includes.chroot/etc/rc.local
index bedc8cf..1f1d743 100755
--- a/stretch-arm64-developer/customization/includes.chroot/etc/rc.local
+++ b/stretch-arm64-developer/customization/includes.chroot/etc/rc.local
@@ -14,4 +14,7 @@
# Generate the SSH keys if non-existent
test -f /etc/ssh/ssh_host_rsa_key || dpkg-reconfigure openssh-server
+# workaround for https://bugs.debian.org/850614
+test -f /etc/ssh/ssh_host_dsa_key || ssh-keygen -q -f /etc/ssh/ssh_host_dsa_key -N '' -t dsa
+
exit 0