aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/dropbear
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2020-01-15 21:31:12 +0100
committerJohn Crispin <john@phrozen.org>2020-01-15 21:31:12 +0100
commita3dd95ef63c7824da6341f97d48f90f30a01e879 (patch)
treeae8ec2e5ad80ba775a0931000eaaa4658a285694 /package/network/services/dropbear
parent7151054abd5d43bf4c623e311a4c1046af4fff94 (diff)
downloadupstream-a3dd95ef63c7824da6341f97d48f90f30a01e879.tar.gz
upstream-a3dd95ef63c7824da6341f97d48f90f30a01e879.tar.bz2
upstream-a3dd95ef63c7824da6341f97d48f90f30a01e879.zip
dropbear: fix compile error
Fixes: 0da193ee6943 ("dropbear: move failsafe code out of base-files") Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'package/network/services/dropbear')
-rw-r--r--package/network/services/dropbear/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/network/services/dropbear/Makefile b/package/network/services/dropbear/Makefile
index 8b5bc17c9d..59b4f54954 100644
--- a/package/network/services/dropbear/Makefile
+++ b/package/network/services/dropbear/Makefile
@@ -158,7 +158,8 @@ define Package/dropbear/install
$(INSTALL_BIN) ./files/dropbear.init $(1)/etc/init.d/dropbear
$(INSTALL_DIR) $(1)/usr/lib/opkg/info
$(INSTALL_DIR) $(1)/etc/dropbear
- $(INSTALL_DIR) ./files/dropbear.failsafe $(1)/lib/preinit/99_10_failsafe_dropbear
+ $(INSTALL_DIR) $(1)/lib/preinit
+ $(INSTALL_DATA) ./files/dropbear.failsafe $(1)/lib/preinit/99_10_failsafe_dropbear
$(if $(CONFIG_DROPBEAR_ECC),touch $(1)/etc/dropbear/dropbear_ecdsa_host_key)
touch $(1)/etc/dropbear/dropbear_rsa_host_key
endef