]> code.ossystems Code Review - openembedded-core.git/commit
wic: fix parsing of 'bitbake -e' output
authorEd Bartosh <ed.bartosh@linux.intel.com>
Wed, 21 Dec 2016 15:05:11 +0000 (17:05 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 16 Jan 2017 18:01:52 +0000 (18:01 +0000)
commitf0ec387ad40fb9c098ac8d761993bc2bacc76e65
tree6c5340fca13ff7c3653bb6343f9827c2fab25d4e
parent914e08cf627e54e5019eda2154663c30b9a68ded
wic: fix parsing of 'bitbake -e' output

Current parsing code can wrongly interpret arbitrary lines
that are of 'key=value' format as legitimate bitbake variables.

Implemented more strict parsing of key=value pairs using
regular expressions.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/lib/wic/utils/oe/misc.py