mirror of
https://git.yoctoproject.org/poky
synced 2026-04-10 23:02:25 +02: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:
committed by
Saul Wold
parent
4ae9c0785e
commit
fc9c11de28
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user