generic-poky/scripts/lib/wic
Ed Bartosh fae29ac083 wic: _exec_cmd: produce error if exit code is not 0
Current code doesn't always show error output of the
external command and even ignores non-zero exit code.

Moved checking of exit code value to the lowest level
possible: to _exec_cmd. This should make wic to always
check exit code of the external command and issue
an error if it's not 0.

[YOCTO #10816]

(From OE-Core rev: 7f68001579c08509332d633b27b5c2ea9386b6c9)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-16 18:05:13 +00:00
..
canned-wks canned-wks: remove mpc8315e-rdb.wks 2017-01-16 18:05:13 +00:00
config wic: get rid of scripts/lib/image 2015-09-03 12:43:25 +01:00
imager direct.py: fix getting image name 2017-01-16 18:05:13 +00:00
plugins wic/isoimage-isohybrid: remove do_stage_partition() 2017-01-16 18:05:12 +00:00
utils wic: _exec_cmd: produce error if exit code is not 0 2017-01-16 18:05:13 +00:00
__init__.py wic: Rename /mic to /wic 2014-08-11 10:53:12 +01:00
__version__.py wic: Bump the version to 2.0 2014-08-11 10:53:12 +01:00
conf.py wic: use items instead of iteritems 2016-05-14 23:05:13 +01:00
creator.py wic: implement --bmap option 2016-05-19 09:05:19 +01:00
engine.py wic: look for wks files in <layer>/wic 2016-12-22 08:50:16 +00:00
filemap.py wic: use next builtin instead of .next method 2016-05-14 23:05:14 +01:00
help.py wic: add --fixed-size wks option 2016-12-22 08:50:16 +00:00
ksparser.py wic: add --fixed-size wks option 2016-12-22 08:50:16 +00:00
msger.py wic: use next builtin instead of .next method 2016-05-14 23:05:14 +01:00
partition.py wic: add --fixed-size wks option 2016-12-22 08:50:16 +00:00
plugin.py wic: fix path parsing, use last occurrence 2016-05-20 10:20:55 +01:00
pluginbase.py wic: refactor pluginbase 2016-05-14 23:05:13 +01:00
test wic: Rename /mic to /wic 2014-08-11 10:53:12 +01:00