Skip to contentSkip to conversation

gitpkgv.bbclass: Add support for gitsm:// url type

PATCH New Daniel Adolfsson 1 participant 1 message Dec 2, 2015

lore
Share & tools
lore
#0 lore raw

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.

---
 meta-oe/classes/gitpkgv.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/classes/gitpkgv.bbclass +1 -1
index 7bdc538..1cba00c 100644
@@ -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