]> code.ossystems Code Review - openembedded-core.git/commit
base: use URI instead of decodeurl when detecting unpack dependencies
authorRoss Burton <ross@burtonini.com>
Thu, 21 Jan 2021 16:09:22 +0000 (16:09 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 23 Jan 2021 17:08:49 +0000 (17:08 +0000)
commit5cd396c099730b765fc6cd82e2d7748f99de7157
tree84b76ff7be60af5081f267385ce4d2f46dcc3c1c
parent19ddacc1b38f9ebb86a9359963ccc3c707f7125e
base: use URI instead of decodeurl when detecting unpack dependencies

decodeurl() has limitations, primarily that it doesn't handle query
parameters at all. If a SRC_URI looks like this:

  http://example.com/download.tar.gz?something

Then the returned path attribute is download.tar.gz?something.  This means
the filename extension detection fails and required tools are not added
to the dependencies.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/base.bbclass