Skip to content

Commit

Permalink
Add openssh-sftp-server
Browse files Browse the repository at this point in the history
:Release Notes:
Add openssh-sftp-server for the files transfotation through sftp

:Detailed Notes:
QtCreator copies the files via sftp by default, and sftp-server
should handle the sftp connection request on the target platform.
For running sftp-server when it gets the sftp connection,
dropbear(sshd) should know where the sftp-server executable exists.

:Testing Performed:
SFTP File Transfotation OK

Local Test OK
Build OK

:QA Notes:
None

:Issues Addressed:
None
  • Loading branch information
sparkleholic committed Mar 7, 2019
1 parent b8dcca1 commit 184c855
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions meta-webos/recipes-core/dropbear/dropbear_2016.74.bbappend
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ EXTENDPRAUTO_append = "webos6"

# (In the emulator) our openssh is installed in /opt prefix, set the sftp path
# this overrides default value set in oe-core's dropbear.inc
CFLAGS_append_emulator = " -DSFTPSERVER_PATH=\\"/opt/openssh/lib/openssh/sftp-server\\""
CFLAGS_append_emulator = " -DSFTPSERVER_PATH=\\"/opt/openssh/libexec/sftp-server\\""

# move startup scripts in different packages
PACKAGES =+ "${PN}-sysvinit"
Expand All @@ -33,4 +33,4 @@ do_install_append_emulator() {

# Remove runtime dependency on separate dropbear-upstart package with Upstart 0.3 job file.
RDEPENDS_${PN} = ""
RDEPENDS_${PN}_emulator = "dhcp-client"
RDEPENDS_${PN}_emulator = "dhcp-client openssh-sftp-server"

0 comments on commit 184c855

Please sign in to comment.