diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2015-09-22 17:21:15 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-22 18:12:50 +0100 |
commit | bbec2ee98a08270c681189a6ba26beb1034d3e2f (patch) | |
tree | b62f08210fd95a326b2f8f68535a54552790632e /scripts/lib/wic/engine.py | |
parent | 6398e9be3c3a2af5e650a4e7ee7f8f61c7b520fd (diff) | |
download | openembedded-core-bbec2ee98a08270c681189a6ba26beb1034d3e2f.tar.gz openembedded-core-bbec2ee98a08270c681189a6ba26beb1034d3e2f.tar.bz2 openembedded-core-bbec2ee98a08270c681189a6ba26beb1034d3e2f.zip |
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].
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/engine.py')
0 files changed, 0 insertions, 0 deletions