summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2024-01-20 13:38:32 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2024-01-21 06:31:36 +0100
commitf661ea429561712819a39250f62b6ed628c7e2c7 (patch)
tree8eb03ec95d22cd3ac66b179fdecbd0afcaa127dd /package
parent3fd6555c91e14b243d32a6ba87b071a42b143a7c (diff)
fix location of authorized_keys
Diffstat (limited to 'package')
-rw-r--r--package/dropbear/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/dropbear/Makefile b/package/dropbear/Makefile
index 8f12d4cf4..520e0b841 100644
--- a/package/dropbear/Makefile
+++ b/package/dropbear/Makefile
@@ -76,9 +76,9 @@ do-install:
$(IDIR_DBCONVERT)/usr/bin/dropbearconvert
# ssh pubkey
test -z $(ADK_RUNTIME_SSH_PUBKEY) || ( \
- $(INSTALL_DIR) $(IDIR_DROPBEAR)/root; \
+ $(INSTALL_DIR) $(IDIR_DROPBEAR)/root/.ssh; \
echo $(ADK_RUNTIME_SSH_PUBKEY) \
- >$(IDIR_DROPBEAR)/root/.authorized_keys; \
+ >$(IDIR_DROPBEAR)/root/.ssh/authorized_keys; \
)
include ${ADK_TOPDIR}/mk/pkg-bottom.mk