summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-24 12:57:38 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-05-06 16:16:33 +0100
commit8a5af7ff337e452fc9d0d26bcbc3072af3472ef4 (patch)
tree4b74347e87ae6e3c42db19992ac4371ec806849f /bitbake
parentb626e109e83384558f45dc2e30e7caec677ce1db (diff)
downloadpoky-8a5af7ff337e452fc9d0d26bcbc3072af3472ef4.tar.gz
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>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
index 1cda059f6d..6170e1c9bc 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -807,7 +807,7 @@ def try_mirror_url(newuri, origud, ud, ld, check = False):
807 os.symlink(ud.localpath, dest) 807 os.symlink(ud.localpath, dest)
808 if not os.path.exists(origud.donestamp) or origud.method.need_update(origud.url, origud, ld): 808 if not os.path.exists(origud.donestamp) or origud.method.need_update(origud.url, origud, ld):
809 origud.method.download(origud.url, origud, ld) 809 origud.method.download(origud.url, origud, ld)
810 if hasattr(ud.method,"build_mirror_data"): 810 if hasattr(origud.method,"build_mirror_data"):
811 origud.method.build_mirror_data(origud.url, origud, ld) 811 origud.method.build_mirror_data(origud.url, origud, ld)
812 return None 812 return None
813 # Otherwise the result is a local file:// and we symlink to it 813 # Otherwise the result is a local file:// and we symlink to it