* [PATCH] base.bbclass: fix support for gitsm://
@ 2016-02-12 7:47 Patrick Ohly
0 siblings, 0 replies; only message in thread
From: Patrick Ohly @ 2016-02-12 7:47 UTC (permalink / raw)
To: openembedded-core
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).
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
---
meta/classes/base.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 8ce9dd4..1372f38 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')
--
2.1.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-02-12 7:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-12 7:47 [PATCH] base.bbclass: fix support for gitsm:// Patrick Ohly
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox