protobuf: Fix protobuf fetch issue

When build image, error occassionally exists:
  "ERROR: protobuf-3.15.2-r0 do_fetch: Fetcher failure for URL: 'git://github.com/protocolbuffers/protobuf.git'. Unable to fetch URL from any source."
- Use nobranch=1 to avoid the missing commit on master branch.
- Use protocol=https for Github urls.

Signed-off-by: Mingyang Wang <mingyang.wang@nxp.com>
Signed-off-by: Jun Zhu <junzhu@nxp.com>
This commit is contained in:
Jun Zhu 2023-08-25 08:53:41 +08:00
parent 5787996778
commit 2c7cd09a06

View File

@ -0,0 +1,2 @@
SRC_URI_remove = "git://github.com/protocolbuffers/protobuf.git "
SRC_URI_append = "git://github.com/protocolbuffers/protobuf.git;protocol=https;nobranch=1"