Browse Source

fix location of authorized_keys

Waldemar Brodkorb 2 years ago
parent
commit
f661ea4295
1 changed files with 2 additions and 2 deletions
  1. 2 2
      package/dropbear/Makefile

+ 2 - 2
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