[yocto] Can Yocto support "git clone" for url with http prefix
zhenhua.luo at freescale.com
zhenhua.luo at freescale.com
Tue Apr 8 23:21:18 PDT 2014
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
More information about the yocto
mailing list