I want to create recipe for a package which is managed by Gerrit, Gerrit only 
provides an anonymous HTTP url(http://aaaa:8181/bb) which can be cloned by "git 
clone http://aaaa:8181/bb"; correctly. 

I set SRC_URI to "http://aaaa:8181/bb"; in the bb file, following is the 
detailed definition. 
       SRC_URI = "http://aaaa:8181/bb;protocol=git;branch=master"; 

When I try to build the package, following error appears. 
        ERROR: Function failed: URL: 
'http://aaaa:8181/bb;protocol=git;branch=master' has invalid parameters. 
Invalid protocol - if you wish to fetch from a git repository using http, you 
need to instead use the git:// prefix with protocol=http 

May I know if Yocto can support "git clone" for url with http prefix? 


Best Regards,

Zhenhua
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to