[OE-core] Fetching code via git over ssh.

Andreas Oberritter obi at opendreambox.org
Thu Mar 29 12:18:21 UTC 2012


On 29.03.2012 14:13, Samuel Stirtzel wrote:
> Hi,
> as I have set up a git server on one of my PCs and secured it with ssh.
> I tried to use the repository in a recipe, cloning via "git clone
> ssh://user@server/~/repo.git" works.
> But bitbake tries to fetch the repository via scp instead of git (also
> if I add protocol=git).
> 
> Tried something like this in my recipe:
> SRC_URI = "ssh://user@server/~/repo.git;protocol=git;branch=master"
> (note: the git repository is in the home directory of the user, so the
> tilde is not causing an error)
> 
> 
> Anyone else tried to fetch a repository on a ssh secured git server via bitbake?
> 

Use git://user@server/path;protocol=ssh




More information about the Openembedded-core mailing list