Skip to contentSkip to conversation

package/autossh: do not look for the host's ssh command

PATCH New Yann E. MORIN 2 participants 2 messages Nov 25, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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).

---
 package/autossh/autossh.mk | 2 ++
 1 file changed, 2 insertions(+)
package/autossh/autossh.mk +2 -0
index 01d3c65..8a9def3 100644
@@ -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
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 package/autossh: do not look for the host's ssh command

Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Yann" == Yann E MORIN <[email protected]> writes:

autossh looks for 'ssh' in the PATH, which may not exist on a build machine.

Fixes a private autobuild failure (soon to go public).

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard