mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-27 16:01:45 +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:
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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user