mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
distrodata.bbclass:Fix some recipes upstream version check issue.
Some recipes,like rt-tests,clutter-box2d,iproute2,didn't declare upstream protocal, but in distrodata.bbclass, we use rsync as the default protocal, this will lead an error when checking upstream version. Change default protocal from rsync to git in distrodata.bbclass. (From OE-Core rev: 7f38cbef365c05d75563760f15b10284147c2de3) Signed-off-by: Mei Lei <lei.mei@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -562,7 +562,7 @@ python do_checkpkg() {
|
||||
if 'protocol' in parm:
|
||||
gitproto = parm['protocol']
|
||||
else:
|
||||
gitproto = "rsync"
|
||||
gitproto = "git"
|
||||
gitcmd = "git ls-remote %s://%s%s%s *tag* 2>&1" % (gitproto, gituser, host, path)
|
||||
gitcmd2 = "git ls-remote %s://%s%s%s HEAD 2>&1" % (gitproto, gituser, host, path)
|
||||
tmp = os.popen(gitcmd).read()
|
||||
|
||||
Reference in New Issue
Block a user