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/gitpkgv.bbclass | |
parent | 84e6322a0a3043d912e2bdc93a7190ed6680532e (diff) | |
download | meta-openembedded-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/gitpkgv.bbclass')
-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 7bdc53893..1cba00ca4 100644 --- a/meta-oe/classes/gitpkgv.bbclass +++ b/meta-oe/classes/gitpkgv.bbclass | |||
@@ -65,7 +65,7 @@ def get_git_pkgv(d, use_tags): | |||
65 | 65 | ||
66 | found = False | 66 | found = False |
67 | for url in ud.values(): | 67 | for url in ud.values(): |
68 | if url.type == 'git': | 68 | if url.type == 'git' or url.type == 'gitsm': |
69 | for name, rev in url.revisions.items(): | 69 | for name, rev in url.revisions.items(): |
70 | if not os.path.exists(url.localpath): | 70 | if not os.path.exists(url.localpath): |
71 | return None | 71 | return None |