Amit Tomer <amittome...@gmail.com> wrote: >Yes Anders, I can see openssh-sftp folder inside >"tmp/work/fkm-poky-linux-gnueabi/openssh/6.1p1-r3/packages-split".But >its empty one.
Ok, then the sftp binary should have been packaged into openssh-sftp. The question is then why your package is being empty. You said that the sftp binary was available in tmp/work/fkm-poky-linux-gnueabi/openssh/6.1p1-r3/package/usr/bin, cab you so find out there? Do you get any clue from the packaging log as to why openssh-sftp is empty? If you run 'bitbake openssh -e' and search for FILES_openssh-sftp, what does it tell you? In which directory under packages-split can you find sftp? > >DISTRO = "poky" > >DISTRO_VERSION = "1.4.2" It should work. Unless there something that overrides the packaging (and splitting) step in any other layer you might have configured. I won't be able to run any tests on my own until early next week. If necessary, I hope that someone else might be able to help you until then. Cheers, Anders > >This is taken from build confriguation. > > >Thanks > >Amit. > > > >On Tue, Oct 1, 2013 at 7:37 PM, Anders Darander <and...@chargestorm.se> >wrote: > > > >Amit Tomer <amittome...@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 (fzm_lsp_k2 >>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 ><and...@chargestorm.se> >>wrote: >> >>* Amit Tomer <amittome...@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 <amittome...@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: and...@chargestorm.se >602 21 Norrköping Web: www.chargestorm.se > >Sent from my Android phone with K-9 Mail. Please excuse my brevity. -- Anders Darander ChargeStorm AB Tel: +46 702 44 84 36 Laxholmstorget 3 Email: and...@chargestorm.se 602 21 Norrköping Web: www.chargestorm.se Sent from my Android phone with K-9 Mail. Please excuse my brevity. _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto