From a1faa7df2a0972fa631d3aee98c59f6b0e8eb43c Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 24 Feb 2014 12:57:38 +0000 Subject: 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 --- bitbake/lib/bb/fetch2/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib') 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 -- cgit v1.2.3-54-g00ecf