diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2016-12-09 14:28:00 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-12-13 22:47:32 +0000 |
commit | a4705e62d0973c290011fc0d250501d358b659e8 (patch) | |
tree | 82dcecc6dd586f9be568bbd7e80987f1c1b41af1 /meta/recipes-extended/man-pages | |
parent | 9f4565a308be55c1bf11706041c0565d48bda4f4 (diff) | |
download | openembedded-core-a4705e62d0973c290011fc0d250501d358b659e8.tar.gz openembedded-core-a4705e62d0973c290011fc0d250501d358b659e8.tar.bz2 openembedded-core-a4705e62d0973c290011fc0d250501d358b659e8.zip |
kernel-yocto: explicitly trap subcommand errors
To trap errors and halt processing, do_kernel_metadata was recently
switched to exit on any non zero return code. While the concept is
sound, there are subcommands that have legitimate non-zero return
codes.
Instead of removing set +e, we'll explicitly check the return code
of the commands that can error, and throw a bbfatal to alert the
user.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-extended/man-pages')
0 files changed, 0 insertions, 0 deletions