]> code.ossystems Code Review - openembedded-core.git/commit
wic: Don't allow mkfs to fail silently in partition command
authorTom Zanussi <tom.zanussi@linux.intel.com>
Wed, 29 Oct 2014 22:04:19 +0000 (17:04 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 30 Oct 2014 13:03:29 +0000 (13:03 +0000)
commit8cef3b06f7e9f9d922673f430ddb3170d2fac000
treec971996d0dfc63adfb9a08f57132eb1ab2703680
parentcec9725c540c2d54c27092e40d159694cea75b5f
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].

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/wic/kickstart/custom_commands/partition.py