]> code.ossystems Code Review - openembedded-core.git/commit
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:38:56 +0000 (17:38 +0000)
commit262a69ffd33e9d001a7a15fc73671a015e3b5dd1
tree360eae78e5e41b3b967df0e43d63a2580b4e7dba
parent32f3596cefc034398803032785714b289766bb66
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]

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