bitbake: fetch2: Fix mirror repo tarball creation
A typo was meaning that the mirror creation method wasn't being called when it should have been. Fix the type to fix mirror tarball creation. [YOCTO #5284] (Bitbake rev: 66cdc2e21660847c50317e8bfd28cf3595422e28) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
b626e109e8
commit
8a5af7ff33
|
@ -807,7 +807,7 @@ def try_mirror_url(newuri, origud, ud, ld, check = False):
|
||||||
os.symlink(ud.localpath, dest)
|
os.symlink(ud.localpath, dest)
|
||||||
if not os.path.exists(origud.donestamp) or origud.method.need_update(origud.url, origud, ld):
|
if not os.path.exists(origud.donestamp) or origud.method.need_update(origud.url, origud, ld):
|
||||||
origud.method.download(origud.url, origud, ld)
|
origud.method.download(origud.url, origud, ld)
|
||||||
if hasattr(ud.method,"build_mirror_data"):
|
if hasattr(origud.method,"build_mirror_data"):
|
||||||
origud.method.build_mirror_data(origud.url, origud, ld)
|
origud.method.build_mirror_data(origud.url, origud, ld)
|
||||||
return None
|
return None
|
||||||
# Otherwise the result is a local file:// and we symlink to it
|
# Otherwise the result is a local file:// and we symlink to it
|
||||||
|
|
Loading…
Reference in New Issue