diff options
author | Tom Zanussi <tom.zanussi@linux.intel.com> | 2014-07-31 13:55:24 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-11 10:53:08 +0100 |
commit | 68e6adf2df70c3f83d67dc869b3ce989a6902b80 (patch) | |
tree | a650dc42d1ae3db2bd7cf3219a252306376d34e5 /scripts/wic | |
parent | 963604605c0eff8c5b6ca6614b6c5fba8ae4dd15 (diff) | |
download | poky-68e6adf2df70c3f83d67dc869b3ce989a6902b80.tar.gz |
wic: Make exec_cmd() error out instead of warn
The reason exec_cmd() warns but doesn't error out (broken parted)
doesn't really make sense, since the parted invocations don't even use
exec_cmd(). It really should just fail since by not doing so it's
actually enabling invalid images in some cases.
Also, since the return code is now always zero, there's no point in
having a return code, so remove it. This represents a change in the
API, so we also need to update all callers.
(From OE-Core rev: a10bbd39eee29cc49d258bf08aaec279c3115c66)
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/wic')
0 files changed, 0 insertions, 0 deletions