mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 20:07:25 +00:00
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 <daniel.adolfsson@bluetest.se> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
84e6322a0a
commit
22004e5281
@@ -65,7 +65,7 @@ def get_git_pkgv(d, use_tags):
|
|||||||
|
|
||||||
found = False
|
found = False
|
||||||
for url in ud.values():
|
for url in ud.values():
|
||||||
if url.type == 'git':
|
if url.type == 'git' or url.type == 'gitsm':
|
||||||
for name, rev in url.revisions.items():
|
for name, rev in url.revisions.items():
|
||||||
if not os.path.exists(url.localpath):
|
if not os.path.exists(url.localpath):
|
||||||
return None
|
return None
|
||||||
|
|||||||
Reference in New Issue
Block a user