]> code.ossystems Code Review - openembedded-core.git/commit
devtool: fix build env command execution error handling
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 14 May 2015 09:18:18 +0000 (10:18 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 15 May 2015 21:21:54 +0000 (22:21 +0100)
commit98a716d79bfc5434a5b42d3ca683eab3eea30a41
tree141b2e861feab434848cf6786f03544ba568f019
parent6866b3027babcc390130f0cba4990c0f769cdb6a
devtool: fix build env command execution error handling

If we execute an external command, we ought to prepare for the
possibility that it can fail and handle the failure appropriately. We
can especially expect this to happen when running bitbake in this
scenario. Ensure we return the appropriate exit code to the calling
process.

Fixes [YOCTO #7757].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
scripts/lib/devtool/__init__.py
scripts/lib/devtool/standard.py