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

lei yang yanglei.fage at gmail.com
Sun Jan 20 06:08:35 UTC 2013


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

Thanks

Lei


> Christopher Larson




More information about the bitbake-devel mailing list