[bitbake-devel] git address in SRC_URI, doesn't works for me

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Sun Jan 20 14:05:48 UTC 2013


On 20 January 2013 07:08:35 lei yang <yanglei.fage at gmail.com> wrote:
> On Sun, Jan 20, 2013 at 10:15 AM, Chris Larson <clarson at kergoth.com> wrote:
> >
> > On Sat, Jan 19, 2013 at 2:13 AM, lei yang <yanglei.fage at gmail.com> wrote:
> >>
> >> SRC_URI = "git://git.opensvc.com/multipath-tools/.git;protocol=http"
> >> it doe noting,and trying to find COPING,but it doesn't clone it
> >
> >
> > This is the correct syntax. The URL scheme (git://) determines what bitbake
> > fetcher, and therefore what tool, is used to fetch. If you use http://,
> > it'll try to download it with wget, not git.
> > -
>
>
> Correct, now it works for me, what protocol determines, , I thought
> SRC_URS="address;protocol=*"
> The address should be a real address, now I know it's not , a strange usage

Yes, it is very counterintuitive (but cannot be corrected easily due to 
gazillions of recipes that use this unfortunate scheme).


Sent with AquaMail for Android
http://www.aqua-mail.com






More information about the bitbake-devel mailing list