]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
fetch: use orig localpath when calling orig method
authorChristopher Larson <chris_larson@mentor.com>
Thu, 10 Dec 2015 18:57:23 +0000 (23:57 +0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 17 Dec 2015 15:08:44 +0000 (15:08 +0000)
commit1732ad65d6c7d67b7d07cb30c074f5016adadbea
tree55bcdd05e70627bbd9f834cf4a0f04c003612142
parent1d710ed484f68fca0789022dde7ba877b9a894f5
fetch: use orig localpath when calling orig method

When a mirror tarball is fetched, the original fetch method is called, which
unpacks the mirror tarball. After the original method is called, it checks the
localpath of the mirror tarball rather than the clone path, which isn't ideal,
particularly if the mirror tarball was removed due to being out of date. We
know the original fetch method will do what it needs to do to get its content
in the form it needs from the mirror tarball, so we can use its localpath
instead.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bb/fetch2/__init__.py