From: Richard Purdie Date: Mon, 7 Feb 2011 09:13:44 +0000 (+0000) Subject: bitbake/fetch2/git: Fix localpath to point at the clone repo since we no longer alway... X-Git-Tag: 2011-1~2482 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=917d3e9697acefe308e7139e86df37a072ee3500;p=openembedded-core.git 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 Signed-off-by: Richard Purdie --- diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py index 35031d28c4..8386ecca02 100644 --- a/bitbake/lib/bb/fetch2/git.py +++ b/bitbake/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):