summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-07 09:13:44 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-10 23:37:08 +0000
commitac8982c2e004525e00785e64a6215b41c75546b3 (patch)
tree8a114b178675897f098b02860939abb5b3bdbfa4
parentb5dd674a96736c78f5fb3ad787e568eef07be23b (diff)
downloadbitbake-ac8982c2e004525e00785e64a6215b41c75546b3.tar.gz
bitbake/fetch2/git: Fix localpath to point at the clone repo since we no longer always generate a mirror tarball and it isn't a good guide to fetcher success
(From Poky rev: 917d3e9697acefe308e7139e86df37a072ee3500) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/bb/fetch2/git.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/bb/fetch2/git.py b/lib/bb/fetch2/git.py
index 35031d28c..8386ecca0 100644
--- a/lib/bb/fetch2/git.py
+++ b/lib/bb/fetch2/git.py
@@ -77,6 +77,9 @@ class Git(FetchMethod):
ud.localfile = ud.mirrortarball
+ def localpath(self, url, ud, d):
+ return ud.clonedir
+
def forcefetch(self, url, ud, d):
for name in ud.names:
if not self._contains_ref(ud.revisions[name], d):