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

Bernhard Reutner-Fischer
2013-01-20T14:19:34Z

On 20 January 2013 07:08:35 lei yang <yanglei.fage@gmail.com> wrote:
> On Sun, Jan 20, 2013 at 10:15 AM, Chris Larson <clarson@kergoth.com> wrote:
> >
> > On Sat, Jan 19, 2013 at 2:13 AM, lei yang <yanglei.fage@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