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

Samuel Stirtzel s.stirtzel at googlemail.com
Thu Mar 29 13:12:31 UTC 2012


2012/3/29 Andreas Oberritter <obi at opendreambox.org>:
> 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
>

Thanks it works.


-- 
Regards
Samuel




More information about the Openembedded-core mailing list