Hi, Actually I am able to create SRC_URI as #SRC_URI = "git://xyz:sysconfig;branch=xxx-ep-20130823-3.0-alpha;protocol=ssh<http://ep-code.xyz.com/sysconfig;branch=xxx-ep-20130823-3.0-alpha;protocol=ssh>" But I am getting the errors when I tries to access it using Bitbake recipe-name Gives me errors by converting the above mentioned SRC_URI to "git ls-remote ssh://xyz:sysconfig brcm-ep-20130823-3.0-alpha" | DEBUG: Python function base_do_fetch finished | DEBUG: Python function do_fetch finished | ERROR: Function failed: Fetcher failure: Fetch command failed with exit code 1, output: | ssh: : Name or service not known | fatal: The remote end hung up unexpectedly Actually we are accessing our client server by using xyz:component eg xyz:sysconfig on the basis of ~/.ssh/config file defined with xyz as host. So please suggest me the way how to proceed and remove this error. For more clarification on the configuration for ssh on my side please see the attached mail thread.
host xyz user epuser hostname ep-code.xyz.com<http://ep-code.xyz.com> port 22 identityfile ~/.ssh/abc_r.j we can only access our servers using xyz:component way in git clone xyz:sysconfig but in bitbake this doesnot work. Please suggest me the solution From: Nicolas Dechesne [mailto:nicolas.deche...@linaro.org] Sent: Monday, September 09, 2013 6:15 PM To: Rohit2 Jindal Cc: yocto@yoctoproject.org Subject: Re: [yocto] yocto query on SR_URI creation On Mon, Sep 9, 2013 at 9:47 AM, Rohit2 Jindal <rohit2.jin...@aricent.com<mailto:rohit2.jin...@aricent.com>> wrote: Actually I want to access external git server of our client using yocto SRC_URI. But I am not able to create path to git server . I just have following info of external server with me 1)~/.ssh/config file host xyz user epuser hostname ep-code.xyz.com<http://ep-code.xyz.com> port 22 identityfile ~/.ssh/abc_r.j 2)abc_r.j.pub file 3)abc_r.j file I am not able to understand which URI protocols will work for me to set path in SRC_URI of .bb file Same thing on linux prompt works like this $git clone xyz:sysconfig $buildroot>make git-checkout Available tag used is xxx-ep-20130823-3.0-alpha Available server epu...@ep-code.xyz.com:/<mailto:epu...@ep-code.xyz.com:/> The following should work: SRC_URI = "git://foo.xyz.com/folder/project.git;protocol=ssh<http://foo.xyz.com/folder/project.git;protocol=ssh>" And in ~/.ssh/config Host foo.xyz.com<http://foo.xyz.com> User <your username> IdentityFile ~/.ssh/abc_r.j You would need to ssh once to that server outside of OE so that i records the server in ~/.ssh/known_hosts first. =============================================================================== Please refer to http://www.aricent.com/legal/email_disclaimer.html for important disclosures regarding this electronic communication. ===============================================================================
_______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto