diff options
author | Tom Zanussi <tom.zanussi@linux.intel.com> | 2014-07-10 13:25:14 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-16 10:06:21 +0100 |
commit | b1c68e5446080f0743f7f8a530f3b00f90c8717d (patch) | |
tree | e7ed7d728905745f6a759ec83be66641de659940 /scripts/lib/image | |
parent | fa325e44f5b429b4038022b31285af9c94672943 (diff) | |
download | openembedded-core-b1c68e5446080f0743f7f8a530f3b00f90c8717d.tar.gz openembedded-core-b1c68e5446080f0743f7f8a530f3b00f90c8717d.tar.bz2 openembedded-core-b1c68e5446080f0743f7f8a530f3b00f90c8717d.zip |
wic: Error on parted non-zero error code
The current code uses msger.debug() to note errors, effectively
squelching them if --debug isn't used. Apparently this is because it
can return non-zero for some loop device failures. We don't care
about loop devices, and not paying attention to the error code
actually results in invalid images, so error out on parted failures as
we should be.
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/image')
0 files changed, 0 insertions, 0 deletions