]> code.ossystems Code Review - openembedded-core.git/commit
wic: bail out on kickstart parse errors
authorMaciej Borzecki <maciej.borzecki@open-rnd.pl>
Wed, 4 Feb 2015 10:53:07 +0000 (11:53 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 7 Feb 2015 13:34:17 +0000 (13:34 +0000)
commit0aa1221c16e65b3daac4aa9a9cfe1d5e9e6106c0
tree79ad594b5b70a89be5efe6f3c5b005a0c82f686c
parent24f02c8d1313a423cf219270a9aa55bccbe1893c
wic: bail out on kickstart parse errors

Kickstart file errors are not emitted by the parser. In case errors, the
current code will continue to execute possibly creating a faulty or
incomplete image. The patch enables the parser to emit all encountered
errors. The error message is shown for the user and further execution is
ceased.

Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/lib/wic/kickstart/__init__.py