diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-24 12:57:38 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-05-06 16:13:41 +0100 |
commit | 66cdc2e21660847c50317e8bfd28cf3595422e28 (patch) | |
tree | bb1004817fc8fe72f93b167650ad97233c117732 | |
parent | da93afe9834e137ed1e9410380181286c80198b5 (diff) | |
download | bitbake-66cdc2e21660847c50317e8bfd28cf3595422e28.tar.gz |
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]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | lib/bb/fetch2/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/fetch2/__init__.py b/lib/bb/fetch2/__init__.py index 1cda059f6..6170e1c9b 100644 --- a/lib/bb/fetch2/__init__.py +++ b/lib/bb/fetch2/__init__.py @@ -807,7 +807,7 @@ def try_mirror_url(newuri, origud, ud, ld, check = False): os.symlink(ud.localpath, dest) if not os.path.exists(origud.donestamp) or origud.method.need_update(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) return None # Otherwise the result is a local file:// and we symlink to it |