From 7f26e688e5b8310020cad8ff3ca36d56552b1540 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Fri, 16 Aug 2013 17:14:21 +0200 Subject: dropbear: fix moved path to sftp server --- recipes-core/dropbear/dropbear_2012.55.bbappend | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'recipes-core') diff --git a/recipes-core/dropbear/dropbear_2012.55.bbappend b/recipes-core/dropbear/dropbear_2012.55.bbappend index 584ebba..3dd802e 100644 --- a/recipes-core/dropbear/dropbear_2012.55.bbappend +++ b/recipes-core/dropbear/dropbear_2012.55.bbappend @@ -7,3 +7,12 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" #embedded targets arn't usually in an environment where there #is a reachable DNS server SRC_URI += "file://remove-reverse-dns.patch" + +# Packport from http://patches.openembedded.org/patch/48957 +# workaround different libexecdir definition in oe; it does not fix +# the multilib issues but mades sftp work again when dropbear and +# openssh-sftp-server are for the same architecture. +_sftp_server_path = "${@\ + ['${libexecdir}/sftp-server','${libdir}/openssh/sftp-server']\ + [d.getVar('libexecdir', True).endswith(d.expand('/${BPN}'))]}" +CFLAGS += "-DSFTPSERVER_PATH=\\"${_sftp_server_path}\\"" -- cgit v1.2.3