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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 2 Jul 2013 21:26:57 +0000 (22:26 +0100)
commite4204bfe940e8ae13e86d373670a26c6862964c5
treea2ca1dd36526ce112c2b7091650e8fc4b309f043
parent176aee671cd882626dbb9143c097bb553a782def
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.

(From OE-Core rev: 34179cc78b730ecb8ff3f4feb4beee2d17498ce3)

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