aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2015-11-25 22:44:58 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2015-11-25 22:47:01 +0100
commit870e13d916bab55e0e517853463aef520f361472 (patch)
tree25e5ba63ee2dc392ff8132c63f7e22f9c77ce99c
parent0a388405947d339c215d728a4016daa87588ce94 (diff)
downloadbuildroot-870e13d916bab55e0e517853463aef520f361472.tar.gz
buildroot-870e13d916bab55e0e517853463aef520f361472.tar.bz2
package/autossh: do not look for the host's ssh command
autossh looks for 'ssh' in the PATH, which may not exist on a build machine. Fixes a private autobuild failure (soon to go public). Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Peter Korsgaard <jacmet@uclibc.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/autossh/autossh.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/autossh/autossh.mk b/package/autossh/autossh.mk
index 01d3c65cc9..8a9def3fbd 100644
--- a/package/autossh/autossh.mk
+++ b/package/autossh/autossh.mk
@@ -10,6 +10,8 @@ AUTOSSH_SOURCE = autossh-$(AUTOSSH_VERSION).tgz
AUTOSSH_LICENSE = Modified BSD
AUTOSSH_LICENSE_FILES = autossh.c
+AUTOSSH_CONF_OPTS = --with-ssh=/usr/bin/ssh
+
define AUTOSSH_INSTALL_TARGET_CMDS
$(INSTALL) -m 755 -D $(@D)/autossh $(TARGET_DIR)/usr/bin/autossh
endef