summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2015-09-22 17:21:15 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-23 09:53:11 +0100
commit374e1fed0ee2be830d4d721f820e30bb5494e003 (patch)
tree10e6f836f187aa927f14ea3e473b7103c8fd0c76 /meta/classes
parent7fb3fb9cc279c2e1fd2b8dd0040f7cab6a5a28db (diff)
downloadpoky-374e1fed0ee2be830d4d721f820e30bb5494e003.tar.gz
lib/oe/recipeutils: properly split unexpanded variable values
Variables such as SRC_URI which are space-separated may also contain Python expressions (${@...}) which themselves contain spaces that shouldn't be split when splitting the value into items. In order to ensure this we need to use a custom splitting function instead of just string.split(). This issue could be seen when doing "devtool modify sudo", adding a commit to the resulting source repository then "devtool update-recipe" - the Python expression in SRC_URI was being unnecessarily broken onto multiple lines. Fixes [YOCTO #8046]. (From OE-Core rev: bbec2ee98a08270c681189a6ba26beb1034d3e2f) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
0 files changed, 0 insertions, 0 deletions