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 <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2011-02-07 09:13:44 +00:00
parent 8e070a9a54
commit 917d3e9697
1 changed files with 3 additions and 0 deletions

View File

@ -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):