[yocto] Provide sftp-client support in yocto

Anders Darander anders at chargestorm.se
Tue Oct 1 07:07:34 PDT 2013



Amit Tomer <amittomer25 at gmail.com> wrote:
>Thansk Anders for your kind response
>
>
>Yes we are created our image and can see there are some IMAGE_INSTALL
>already used

Good. 

>But when I add  IMAGE_INSTALL += "openssh-sftp"
>
>
>Getting below error
>
>
>Error: openssh-sftp not found in the base feeds (zzz_pyp_ii
>cortexa15hf-vfp-neon cortexa15hf-vfp armv7ahf-vfp-neon armv7ahf-vfp
>armv6hf-vfp armv5ehf-vfp armv5hf-vfp noarch any all).
>
>
>Do we need to do something more here

That should have been enough. 

If you look in tmp/work/fkm-poky-linux-gnueabi/openssh/6.1p1-r3/packages-split, do you see openssh-sftp there, or which packages do you have there? 

Which version of Yocto / Poky are you using? What layers do you have enabled? 

Cheers, 
Anders 

>Thanks 
>
>Amit
>
>
>
>
>
>On Tue, Oct 1, 2013 at 6:56 PM, Anders Darander <anders at chargestorm.se>
>wrote:
>
>* Amit Tomer <amittomer25 at gmail.com> [131001 14:57]:
>
>> Just now I have seen your responses ,didn't get any notification of
>your
>> responses on my mail-id.
>
>> Let me present my problem again to you guys.
>
>> We have stfp-server running fine on put target machine and is running
>as part
>> of sshd daemon.
>
>Ok, that sounds good. Then the server is apparantly no problem for you.
>
>
>> But when we try to connect to other machine from target board, sftp
>is not
>> working becaue our borad is set to run as sftp -client.
>
>> An SFTP client program called sftp is already insatlled to tmp/work/
>> fkm-poky-linux-gnueabi/openssh/6.1p1-r3/package/usr/bin.
>
>The build process built sftp (the client) as a part of building
>openssh.
>The client was packaged into a separate package, called openssh-sftp.
>
>
>> But on Target I could not find this sftp .bins.
>
>Now you need to install that package, openssh-sftp, to your image.
>
>If you have created your own image, just add openssh-sftp to
>IMAGE_INSTALL.
>
>If you're not creating your own images, I'd strongly suggest that you
>do
>that. (It'll make all your customizations a lot easier in the end). See
>http://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#usingpoky-extend-customimage-custombb
>for more information.
>
>I hope this answers your question.
>
>Cheers,
>Anders
>
>
>> Now we want this stfp run as some daemon or part of sshd daemon
>itself.
>
>> Anders: It's already being installed to a package named openssh-sftp
>
>> We don't have package named openssh-sftp ,we have package named with
>openssh
>> only
>
>> Thanks
>> Amit
>
>
>
>
>
>
>
>> On Tue, Oct 1, 2013 at 1:22 PM, Amit Tomer <amittomer25 at gmail.com>
>wrote:
>
>>     I am new to OpenEmbedded Yocto project and have a requirement to
>provide
>>     sftp-client support on my target board.
>
>>     Sftp-server bins are already packed into final image and is
>installed at
>
>>    
>tmp/work/fkm-poky-linux-gnueabi/openssh/6.1p1-r3/package/usr/lib/openssh/
>>     sftp-server
>
>>     Now ,same way Do I have to install stfp client bins also or is
>there any
>>     other way to go about it??
>
>>     Thanks
>>     Amit 
>
>
>
>
>
>
>
>--
>Anders Darander
>ChargeStorm AB / eStorm AB

-- 
Anders Darander
ChargeStorm AB          Tel: +46 702 44 84 36
Laxholmstorget 3        Email: anders at chargestorm.se
602 21 Norrköping       Web: www.chargestorm.se

Sent from my Android phone with K-9 Mail. Please excuse my brevity.



More information about the yocto mailing list