summaryrefslogtreecommitdiffstats
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-02-24 13:00:36 +0000
commita1faa7df2a0972fa631d3aee98c59f6b0e8eb43c (patch)
tree2f7194aa02624fcf1572d9f9fe2f32f2d9efa14f
parentdd43700b5d37f29effcb08c2d76874c11afd9b9f (diff)
downloadpoky-a1faa7df2a0972fa631d3aee98c59f6b0e8eb43c.tar.gz
poky-a1faa7df2a0972fa631d3aee98c59f6b0e8eb43c.tar.bz2
poky-a1faa7df2a0972fa631d3aee98c59f6b0e8eb43c.zip
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: 348971d410bfd5d8b1757468d73e1d24ae78a594) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 de95074c40..dc6c821011 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -808,7 +808,7 @@ def try_mirror_url(origud, ud, ld, check = False):
os.symlink(ud.localpath, dest)
if not os.path.exists(origud.donestamp) or origud.method.need_update(origud, ld):
origud.method.download(origud, ld)
- if hasattr(ud.method,"build_mirror_data"):
+ if hasattr(origud.method,"build_mirror_data"):
origud.method.build_mirror_data(origud, ld)
return ud.localpath
# Otherwise the result is a local file:// and we symlink to it