]> 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)
committerRobert Yang <liezhi.yang@windriver.com>
Mon, 28 Dec 2015 07:03:15 +0000 (23:03 -0800)
commita28eba9fb03720c805eae02c3d0aebf9294e300b
tree3b4df625a2ed51c72019461134d8b6aeb0657312
parentb901a3057ff511f4c8bc730b37b967a93995de2f
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].

(From OE-Core master rev: 8e75b7e7d54e5638b42b9e7f90f2c6c17e62033f)

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