wic: Don't allow mkfs to fail silently in partition command
authorTom Zanussi <tom.zanussi@linux.intel.com>
Wed, 26 Nov 2014 16:22:05 +0000 (08:22 -0800)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 17:18:41 +0000 (09:18 -0800)
commit429b7857a9324e7cb2ba5ffb3a6613c011c3917a
tree8cfbf3923b09e4ee4497e32482427c68106c972b
parentaf5ce62e30968475e97e4ffca2c30c986ec3c1b8
wic: Don't allow mkfs to fail silently in partition command

The return code from the mkfs command used by the partition creation
command was being ignored, allowing it to silently fail and leaving
users mystified as to why the resulting filesystem was corrupted.

This became obvious when failures occurred when creating large
e.g. sdk filesystems [YOCTO #6863].

(From OE-Core rev: 8cef3b06f7e9f9d922673f430ddb3170d2fac000)

(From OE-Core rev: ac7b2eb0a35613d030eeef0b8df0d69ae0935b43)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
scripts/lib/wic/kickstart/custom_commands/partition.py