diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2016-12-09 14:28:00 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-11 11:46:52 +0000 |
commit | a4888a63620fa05e1399355d9e20c2da586efb4c (patch) | |
tree | 12c097d63c8c32da93904e6907b10dfb505eb6de /meta/classes/relocatable.bbclass | |
parent | d7ca7a37c8a5f8baefadc44bdfc1a697d2fe4616 (diff) | |
download | openembedded-core-a4888a63620fa05e1399355d9e20c2da586efb4c.tar.gz openembedded-core-a4888a63620fa05e1399355d9e20c2da586efb4c.tar.bz2 openembedded-core-a4888a63620fa05e1399355d9e20c2da586efb4c.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.
(From OE-Core rev: a4705e62d0973c290011fc0d250501d358b659e8)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta/classes/relocatable.bbclass')
0 files changed, 0 insertions, 0 deletions