[OE-core] [OE-Core][PATCH v2] openssh: Add dependency on ssh for sftp
Alex Kiernan
alex.kiernan at gmail.com
Tue Jul 3 12:37:33 UTC 2018
Add missing dependency on the ssh binary for the sftp client to avoid
failure at runtime if it's not been installed through another dependency
chain.
This introduces a note if PREFERRED_RPROVIDER_ssh is not set and it
can be satisfied by multiple providers (e.g. openssh and dropbear).
Signed-off-by: Alex Kiernan <alex.kiernan at gmail.com>
---
Changes in v2:
- Depend on ssh not ${PN}-ssh so it can be satisfied by openssh or dropbear
meta/recipes-connectivity/openssh/openssh_7.7p1.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipes-connectivity/openssh/openssh_7.7p1.bb b/meta/recipes-connectivity/openssh/openssh_7.7p1.bb
index b3da5f6..3240f1e 100644
--- a/meta/recipes-connectivity/openssh/openssh_7.7p1.bb
+++ b/meta/recipes-connectivity/openssh/openssh_7.7p1.bb
@@ -146,6 +146,7 @@ FILES_${PN}-keygen = "${bindir}/ssh-keygen"
RDEPENDS_${PN} += "${PN}-scp ${PN}-ssh ${PN}-sshd ${PN}-keygen"
RDEPENDS_${PN}-sshd += "${PN}-keygen ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam-plugin-keyinit pam-plugin-loginuid', '', d)}"
+RDEPENDS_${PN}-sftp += "ssh"
RDEPENDS_${PN}-ptest += "${PN}-sftp ${PN}-misc ${PN}-sftp-server make"
RPROVIDES_${PN}-ssh = "ssh"
--
2.7.4
More information about the Openembedded-core
mailing list