]> 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>
Sun, 28 Jun 2015 08:42:00 +0000 (09:42 +0100)
commit2791fe9236f7173e6b998cf9b40fe238566ed8ee
tree5017666d96fe19f18be69152d7da3706e54b43c9
parentd8f151b6a385f81abead65624ba15d42cbd90e11
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].

(From OE-Core master rev: 98a716d79bfc5434a5b42d3ca683eab3eea30a41)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/devtool/__init__.py
scripts/lib/devtool/standard.py