summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2016-02-12 08:47:23 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-12 08:57:35 +0000
commita12dcc4a1d83fc817da8973a1574bad438ea23b4 (patch)
treef1fb0ce7a45845354c348e8b9aeac80e59a86950 /meta/classes
parentbc72f64eb4041ef44198e3e0caeb2be9f43eb44e (diff)
downloadpoky-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/classes')
-rw-r--r--meta/classes/base.bbclass2
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 () {
564 d.appendVarFlag('do_fetch', 'depends', ' subversion-native:do_populate_sysroot') 564 d.appendVarFlag('do_fetch', 'depends', ' subversion-native:do_populate_sysroot')
565 565
566 # Git packages should DEPEND on git-native 566 # Git packages should DEPEND on git-native
567 elif scheme == "git": 567 elif scheme in ("git", "gitsm"):
568 needsrcrev = True 568 needsrcrev = True
569 d.appendVarFlag('do_fetch', 'depends', ' git-native:do_populate_sysroot') 569 d.appendVarFlag('do_fetch', 'depends', ' git-native:do_populate_sysroot')
570 570