]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
bitbake: 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>
Fri, 18 Dec 2015 12:18:19 +0000 (12:18 +0000)
commit28ea1a1c957241ec59c88b27e18d95ac837cc180
treee972b9d47a34d93b1ec82a0b000581296bd07d55
parent5cb6d83f17b33f4c481e177e8fa3e7123e025d55
bitbake: 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.

(Bitbake rev: 1732ad65d6c7d67b7d07cb30c074f5016adadbea)

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>
bitbake/lib/bb/fetch2/__init__.py