[oe] git and ssh and kernel development

Martin Jansa martin.jansa at gmail.com
Sat Feb 13 12:23:01 UTC 2010


On Sat, Feb 13, 2010 at 11:11:23AM +0100, Raffaele Recalcati wrote:
> Dear Paul,
> 
> 2010/2/13 Paul Menzel <paulepanter at users.sourceforge.net>:
> > Dear Raffaele,
> >
> >
> > Am Samstag, den 13.02.2010, 10:07 +0100 schrieb Raffaele Recalcati:
> >> I have a git mirror of the kernel.
> >> How to fetch from it in ssh .
> >> ssh://user@ipaddress/pathtogit;protocol=git;branch=master
> >> but ssh has password  ..
> >>
> >> Second question: if pathtogit is a dir on my pc where I'm developing
> >> what is the syntax?
> >
> > I think this is the wrong list you are asking this question. Please ask
> > on the Git list, but before you should read the documentation which is
> > quite elaborate for Git as far as I know and should cover your
> > questions.
> >
> > If you do ask the question on the Git list or solve the problem please
> > answer to this thread with the appropriate links.
> 
> I'm sorry.
> It was a stupid question.
> I'll be very careful in the future!
> :)

If you're asking what to put in SRC_URI in recipe it doesn't look stupid
to me :).

I don't know how to use git+ssh in bitbake (especially with password), I
would expect something like
SRC_URI="git://user@ipaddress/pathtogit;protocol=ssh;branch=master"
but you've to check if that's supported at least with key
authentization"

2nd question is easier
SRC_URI = "file:///home/projects/pathtogit/secretProject"
and you would probably need to adjust S variable too
S = "${WORKDIR}/secretProject"


And you don't want to commit either version to public OE repo, right?

Regards,

-- 
uin:136542059                jid:Martin.Jansa at gmail.com
Jansa Martin                 sip:jamasip at voip.wengo.fr 
JaMa                         




More information about the Openembedded-devel mailing list