package.bbclass: Handle subprocess errors correctly
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 25 Mar 2013 16:52:07 +0000 (16:52 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 25 Mar 2013 17:42:58 +0000 (17:42 +0000)
commit627c50ffef26c31aa25ca577f3e6e82eb6f65497
tree482ac736969491734e23d26c7c6053a5850f610b
parentf049ebfee8c87a96009a4503378df9c5543ce18e
package.bbclass: Handle subprocess errors correctly

If an error occurs in subprocess.call() we currently don't catch it. In particular
we have issues where debugedit is segfaulting unnoticed. This fixes up
various code paths to catch the errors.

[YOCTO #4089]

(From OE-Core rev: 262a69ffd33e9d001a7a15fc73671a015e3b5dd1)

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