]> code.ossystems Code Review - openembedded-core.git/commit
recipetool: create: eliminate second fetch for packages
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 20 Jul 2017 14:48:10 +0000 (16:48 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 21 Jul 2017 07:44:18 +0000 (08:44 +0100)
commitbe45e9b17e9dbc8c2594d3a939be377ab0720a7c
tree821018564e2c9266545eb8d15cf3c0183c767fdf
parent8496113b63d5a5d1f99056610c0fdb972a6200d4
recipetool: create: eliminate second fetch for packages

When dealing with package files (.rpm, .ipk etc.) we need to unpack them
ourselves to get the metadata, which is thrown away when the fetcher
unpacks them. However, since we've already fetched the file once, I'm
not sure as to why I thought I needed to fetch it again - we can just
get the local path and then unpack it directly.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/recipetool/create.py