[yocto] yocto query on SR_URI creation

Nicolas Dechesne nicolas.dechesne at linaro.org
Tue Sep 10 08:02:09 PDT 2013


On Tue, Sep 10, 2013 at 4:35 PM, Rohit2 Jindal <rohit2.jindal at aricent.com>wrote:

>  **
>
> Thanks for your prompt reply.****
>
> ** **
>
> Actually I am able to create my own SRC_URI on your guided lines as****
>
> #SRC_URI = "git://
> ep-code.xyz.com/sysconfig;branch=xxx-ep-20130823-3.0-alpha;protocol=ssh"**
> **
>
> But when do_fetch task starts executing it prompts me to input the
> passphrase for the same server when I am not able to pass . Please suggest
> me is the way I mentioned the path is need to be modified or ****
>
> ** **
>
> There is something that enable me to pass password for git server ie
> username and password are possible to be passed as argument to git path or
> some other way exist to give input to bitbake do_fetch task as runtime I
> don’t think we can pass any input.****
>
> ** **
>
> Please suggest me the way.****
>
> ** **
>
>
you need to be able to use 'password-less' connection to your ssh server
that hosts the private trees. typically that means using a pair of SSH keys
(private/public).  if you are not familiar with that, i suggest you read
this first:

http://www.debian-administration.org/article/SSH_with_authentication_key_instead_of_password

with such a method SSH authentication can be done 'automatically' without
the need for prompting user's passwd.

if you actually decide to use passphrase for your SSH (private) key, you
might be able to setup SSH agent to do that, but you would need to do that
each time you log, iirc. But i am not familiar with this, to be honest. You
can read more about that here:

http://www.solomonson.com/content/setting-ssh-agent-ask-passphrase-only-once

cheers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20130910/04df8087/attachment.html>


More information about the yocto mailing list