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 16:37:19 +0000
commit965777b2fb4f699e58a96f779dab9ca7bc090c07 (patch)
treef80d31069ec51e1444cd8622460a4b8430f72731
parent8d182bb423ac74f783ee310a42f6ef8f4cf63e16 (diff)
downloadpoky-965777b2fb4f699e58a96f779dab9ca7bc090c07.tar.gz
poky-965777b2fb4f699e58a96f779dab9ca7bc090c07.tar.bz2
poky-965777b2fb4f699e58a96f779dab9ca7bc090c07.zip
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() {
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()