]> code.ossystems Code Review - openembedded-core.git/commit
classes/package: print command output when commands fail
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 2 Jul 2013 12:19:10 +0000 (13:19 +0100)
committerSaul Wold <sgw@linux.intel.com>
Tue, 2 Jul 2013 14:58:10 +0000 (07:58 -0700)
commit34179cc78b730ecb8ff3f4feb4beee2d17498ce3
tree6236046d3d6c32cbee9a27503d8a2512eb91157e
parentb7c2e01753e4a09388a3282e534bcbd163cd6ef7
classes/package: print command output when commands fail

When external commands such as debugedit fail, it can be useful to see
their output, so use oe.utils.getstatusoutput() instead of
subprocess.call() to capture this and print it on failure.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/classes/package.bbclass