]> code.ossystems Code Review - openembedded-core.git/commit
classes/distrodata: split SRC_URI properly before determining type
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Fri, 6 Nov 2015 09:34:05 +0000 (09:34 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 16 Nov 2015 11:37:16 +0000 (11:37 +0000)
commit8e75b7e7d54e5638b42b9e7f90f2c6c17e62033f
tree4be2b6a50b57de5410ca367dbce73bdd67dca3f3
parentafe100436bdeefb024b924ee27ad68830f085ff4
classes/distrodata: split SRC_URI properly before determining type

We weren't splitting SRC_URI values containing multiple URIs here; this
didn't cause any errors except when a trailing ; was left on a URI, in
which case the next URI was considered part of the parameter, which
didn't contain a = and therefore was considered invalid.

We only care about the first URI in SRC_URI in this context (since
that's the upstream URI by convention) so split it as we should and take
the first item.

Fixes [YOCTO #8645].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/distrodata.bbclass