[oe] [meta-oe][PATCH] gitpkgv.bbclass: Add support for gitsm:// url type
Daniel Adolfsson
daniel.adolfsson at bluetest.se
Wed Dec 2 10:48:46 UTC 2015
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 <daniel.adolfsson at bluetest.se>
---
meta-oe/classes/gitpkgv.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-oe/classes/gitpkgv.bbclass b/meta-oe/classes/gitpkgv.bbclass
index 7bdc538..1cba00c 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
--
1.9.1
More information about the Openembedded-devel
mailing list