diff options
author | Daniel Adolfsson <daniel.adolfsson@bluetest.se> | 2015-12-02 11:48:46 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-12-18 12:39:50 +0100 |
commit | 22004e5281a913818a94bcd160ad3135a9ecd314 (patch) | |
tree | ff4be12a7a32443bc5cb1026b720eea4726c6950 /meta-oe/classes | |
parent | 84e6322a0a3043d912e2bdc93a7190ed6680532e (diff) | |
download | meta-openembedded-contrib-22004e5281a913818a94bcd160ad3135a9ecd314.tar.gz |
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>
Diffstat (limited to 'meta-oe/classes')
-rw-r--r-- | meta-oe/classes/gitpkgv.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/classes/gitpkgv.bbclass b/meta-oe/classes/gitpkgv.bbclass index 7bdc538939c..1cba00ca4d4 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 |