From 965777b2fb4f699e58a96f779dab9ca7bc090c07 Mon Sep 17 00:00:00 2001 From: Mei Lei Date: Tue, 6 Dec 2011 17:09:52 +0800 Subject: 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 Signed-off-by: Richard Purdie --- meta/classes/distrodata.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- cgit v1.2.3-54-g00ecf