From 22004e5281a913818a94bcd160ad3135a9ecd314 Mon Sep 17 00:00:00 2001 From: Daniel Adolfsson Date: Wed, 2 Dec 2015 11:48:46 +0100 Subject: gitpkgv.bbclass: Add support for gitsm:// url type When using "gitsm://", for projects using submodules, instead of "git://", gitpkgv does not work. The limitation is synthetic, this patch simply adds gitsm as an allowed url type. Signed-off-by: Daniel Adolfsson Signed-off-by: Martin Jansa --- meta-oe/classes/gitpkgv.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-oe/classes') diff --git a/meta-oe/classes/gitpkgv.bbclass b/meta-oe/classes/gitpkgv.bbclass index 7bdc538939..1cba00ca4d 100644 --- a/meta-oe/classes/gitpkgv.bbclass +++ b/meta-oe/classes/gitpkgv.bbclass @@ -65,7 +65,7 @@ def get_git_pkgv(d, use_tags): found = False for url in ud.values(): - if url.type == 'git': + if url.type == 'git' or url.type == 'gitsm': for name, rev in url.revisions.items(): if not os.path.exists(url.localpath): return None -- cgit v1.2.3-54-g00ecf