From 5f6deb044226885912214532cebb1d871f03c53a Mon Sep 17 00:00:00 2001 From: Roy Li Date: Thu, 26 Sep 2013 09:56:08 +0800 Subject: dropbear: pass SFTPSERVER_PATH explicitly The default value of SFTPSERVER_PATH is "/usr/libexec/sftp-server" defined in dropbear-2013.58/option.h, but after commit 406bd38b423[bitbake.conf: change libexecdir to ${libdir}/${BPN}], sftp-server is provided by openssh package, and is installed into ${libdir}/openssh, so we pass it explicitly. Signed-off-by: Roy Li Signed-off-by: Richard Purdie --- meta/recipes-core/dropbear/dropbear.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-core/dropbear') diff --git a/meta/recipes-core/dropbear/dropbear.inc b/meta/recipes-core/dropbear/dropbear.inc index be93d60595..9498bf8111 100644 --- a/meta/recipes-core/dropbear/dropbear.inc +++ b/meta/recipes-core/dropbear/dropbear.inc @@ -40,6 +40,7 @@ BINCOMMANDS = "dbclient ssh scp" EXTRA_OEMAKE = 'MULTI=1 SCPPROGRESS=1 PROGRAMS="${SBINCOMMANDS} ${BINCOMMANDS}"' EXTRA_OECONF += "\ ${@base_contains('DISTRO_FEATURES', 'pam', '--enable-pam', '--disable-pam', d)}" +CFLAGS += "-DSFTPSERVER_PATH=\\"${libdir}/openssh/sftp-server\\"" do_install() { install -d ${D}${sysconfdir} \ -- cgit 1.2.3-korg