dropbear: add initial support for ECC host key
Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
This commit is contained in:
parent
c40a84cc15
commit
efc533cc2f
1 changed files with 2 additions and 0 deletions
|
@ -61,6 +61,7 @@ define Package/dropbear/description
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/dropbear/conffiles
|
define Package/dropbear/conffiles
|
||||||
|
$(if $(CONFIG_DROPBEAR_ECC),/etc/dropbear/dropbear_ecdsa_host_key)
|
||||||
/etc/dropbear/dropbear_rsa_host_key
|
/etc/dropbear/dropbear_rsa_host_key
|
||||||
/etc/config/dropbear
|
/etc/config/dropbear
|
||||||
endef
|
endef
|
||||||
|
@ -144,6 +145,7 @@ define Package/dropbear/install
|
||||||
$(INSTALL_BIN) ./files/dropbear.init $(1)/etc/init.d/dropbear
|
$(INSTALL_BIN) ./files/dropbear.init $(1)/etc/init.d/dropbear
|
||||||
$(INSTALL_DIR) $(1)/usr/lib/opkg/info
|
$(INSTALL_DIR) $(1)/usr/lib/opkg/info
|
||||||
$(INSTALL_DIR) $(1)/etc/dropbear
|
$(INSTALL_DIR) $(1)/etc/dropbear
|
||||||
|
$(if $(CONFIG_DROPBEAR_ECC),touch $(1)/etc/dropbear/dropbear_ecdsa_host_key)
|
||||||
touch $(1)/etc/dropbear/dropbear_rsa_host_key
|
touch $(1)/etc/dropbear/dropbear_rsa_host_key
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue