image_types: Fix ubi filesystem return codes
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 3 Jun 2014 12:51:24 +0000 (12:51 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 3 Jun 2014 15:49:20 +0000 (16:49 +0100)
commitd4708336c91f860ac23cdcb2b1d404f50ccf15d4
tree6e8be72384f0f1495cc58a4058b00c1711965b1c
parent9af034b3dabfb8b61d6c2aa22ab1d501abdf1802
image_types: Fix ubi filesystem return codes

If the first command returns an error, it will not cause the image generation
step to fail. Simply split up the statement into multiple lines to avoid
this issue, they no longer need to be one line expressions.

[YOCTO #6391]

(From OE-Core rev: f8125a1e9b6893a12355d55d4df584a8d97f0bff)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image_types.bbclass