diff options
author | Patrick Ohly <patrick.ohly@intel.com> | 2016-02-12 08:47:23 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-12 08:57:35 +0000 |
commit | a12dcc4a1d83fc817da8973a1574bad438ea23b4 (patch) | |
tree | f1fb0ce7a45845354c348e8b9aeac80e59a86950 /meta | |
parent | bc72f64eb4041ef44198e3e0caeb2be9f43eb44e (diff) | |
download | openembedded-core-contrib-a12dcc4a1d83fc817da8973a1574bad438ea23b4.tar.gz |
base.bbclass: fix support for gitsm://
Before the "Improve handling of SRCPV" change, gitsm SRC_URI entries
were merely missing a dependency on git for do_fetch. But after that
change, the special handling for "needsrcrev" was not applied, leading
to a fetcher error (older bitbake) or even a parse error (recent
bitbake).
(From OE-Core rev: 41d06f512504cb24bb727308d08490b8741f332d)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/base.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 8ce9dd4315..1372f38461 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass @@ -564,7 +564,7 @@ python () { d.appendVarFlag('do_fetch', 'depends', ' subversion-native:do_populate_sysroot') # Git packages should DEPEND on git-native - elif scheme == "git": + elif scheme in ("git", "gitsm"): needsrcrev = True d.appendVarFlag('do_fetch', 'depends', ' git-native:do_populate_sysroot') |