summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMei Lei <lei.mei@intel.com>2011-12-06 17:09:52 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-12-06 14:38:42 +0000
commit359770fc4c6ed03e3e8bb96f2b3fc1ef8c9fdfc2 (patch)
treed1d3e4c2777f3775b8abd42d5c74610a8ffca26d
parentf199156fe988abbd8df75ed35e9837d8f81c3413 (diff)
downloadpoky-359770fc4c6ed03e3e8bb96f2b3fc1ef8c9fdfc2.tar.gz
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>
-rw-r--r--meta/classes/distrodata.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/distrodata.bbclass b/meta/classes/distrodata.bbclass
index 0c0b549fef..ff5b836871 100644
--- a/meta/classes/distrodata.bbclass
+++ b/meta/classes/distrodata.bbclass
@@ -562,7 +562,7 @@ python do_checkpkg() {
562 if 'protocol' in parm: 562 if 'protocol' in parm:
563 gitproto = parm['protocol'] 563 gitproto = parm['protocol']
564 else: 564 else:
565 gitproto = "rsync" 565 gitproto = "git"
566 gitcmd = "git ls-remote %s://%s%s%s *tag* 2>&1" % (gitproto, gituser, host, path) 566 gitcmd = "git ls-remote %s://%s%s%s *tag* 2>&1" % (gitproto, gituser, host, path)
567 gitcmd2 = "git ls-remote %s://%s%s%s HEAD 2>&1" % (gitproto, gituser, host, path) 567 gitcmd2 = "git ls-remote %s://%s%s%s HEAD 2>&1" % (gitproto, gituser, host, path)
568 tmp = os.popen(gitcmd).read() 568 tmp = os.popen(gitcmd).read()