diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-24 12:57:38 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-24 13:00:36 +0000 |
commit | a1faa7df2a0972fa631d3aee98c59f6b0e8eb43c (patch) | |
tree | 2f7194aa02624fcf1572d9f9fe2f32f2d9efa14f /bitbake/lib | |
parent | dd43700b5d37f29effcb08c2d76874c11afd9b9f (diff) | |
download | poky-a1faa7df2a0972fa631d3aee98c59f6b0e8eb43c.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: 348971d410bfd5d8b1757468d73e1d24ae78a594)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/fetch2/__init__.py | 2 |
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): | |||
808 | os.symlink(ud.localpath, dest) | 808 | os.symlink(ud.localpath, dest) |
809 | if not os.path.exists(origud.donestamp) or origud.method.need_update(origud, ld): | 809 | if not os.path.exists(origud.donestamp) or origud.method.need_update(origud, ld): |
810 | origud.method.download(origud, ld) | 810 | origud.method.download(origud, ld) |
811 | if hasattr(ud.method,"build_mirror_data"): | 811 | if hasattr(origud.method,"build_mirror_data"): |
812 | origud.method.build_mirror_data(origud, ld) | 812 | origud.method.build_mirror_data(origud, ld) |
813 | return ud.localpath | 813 | return ud.localpath |
814 | # Otherwise the result is a local file:// and we symlink to it | 814 | # Otherwise the result is a local file:// and we symlink to it |