dropbear: fix ssh alternative when dbclient isn't built
The ssh symlink was still being created even when dbclient was disabled in the build configuration. Fix this annoyance. Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
This commit is contained in:
parent
6e7f40dff3
commit
e5eeb34a8c
@ -53,9 +53,9 @@ define Package/dropbear
|
||||
CATEGORY:=Base system
|
||||
TITLE:=Small SSH2 client/server
|
||||
DEPENDS:= +DROPBEAR_ZLIB:zlib
|
||||
ALTERNATIVES:=\
|
||||
100:/usr/bin/ssh:/usr/sbin/dropbear \
|
||||
100:/usr/bin/scp:/usr/sbin/dropbear \
|
||||
ALTERNATIVES:=100:/usr/bin/scp:/usr/sbin/dropbear
|
||||
$(if $(CONFIG_DROPBEAR_DBCLIENT),ALTERNATIVES+= \
|
||||
100:/usr/bin/ssh:/usr/sbin/dropbear,)
|
||||
|
||||
endef
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user