gitpkgv.bbclass: Add support for gitsm:// url type
PATCH 1/1 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 <[email protected]>
--- meta-oe/classes/gitpkgv.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/classes/gitpkgv.bbclass +1 -1
@@ -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
Signature · 1 line
1.9.1