1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00:00

bitbake/fetch/git.py: Fix git fetcher to correctly use mirror tarballs

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Richard Purdie
2010-10-19 00:12:09 +01:00
parent ef670167cd
commit 1077021f70
+5 -1
View File
@@ -86,7 +86,11 @@ class Git(Fetch):
return os.path.join(data.getVar("DL_DIR", d, True), ud.localfile)
def forcefetch(self, url, ud, d):
if not self._contains_ref(ud.tag, d) or 'fullclone' in ud.parm:
if 'fullclone' in ud.parm:
return True
if os.path.exists(self.localpath(url, ud, d)):
return False
if not self._contains_ref(ud.tag, d):
return True
return False