summaryrefslogtreecommitdiff
path: root/scripts/lib
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-21 14:11:52 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-22 09:05:04 +0000
commit64c8366a805e9cf0168ea2331c50c8d6a70c6dc4 (patch)
treed31a95e1dbef833332a578cef7f0fcbefc65ec76 /scripts/lib
parentf755b07b528e828618141eda402399d791efba4a (diff)
downloadopenembedded-core-64c8366a805e9cf0168ea2331c50c8d6a70c6dc4.tar.gz
openembedded-core-64c8366a805e9cf0168ea2331c50c8d6a70c6dc4.tar.bz2
openembedded-core-64c8366a805e9cf0168ea2331c50c8d6a70c6dc4.zip
package_ipk: Improve failure debug output
Currently if the dpkg-deb command fails you see an error message like this: ERROR: nss-3.27.1-r0 do_package_write_ipk: opkg-build execution failed ERROR: nss-3.27.1-r0 do_package_write_ipk: Function failed: do_package_ipk which is pretty much useless. If we use subprocess.check_output, we see a traceback and then: Exception: subprocess.CalledProcessError: Command '<cmd>' returned non-zero exit status 1 Subprocess output: <output> which is much easier to debug from. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions