]> code.ossystems Code Review - openembedded-core.git/commit
kernel-yocto: exit on non-zero return code
authorBruce Ashfield <bruce.ashfield@windriver.com>
Fri, 2 Dec 2016 21:09:25 +0000 (16:09 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 11 Jan 2017 11:46:46 +0000 (11:46 +0000)
commit620c74336dad517037fcf26c8f7bf8c013b213c1
treea79db9df85981bca31aab667fa3c49a3e39c8d7f
parent6bc941a2a8e83e2db409af50ad77a0932e3ffe28
kernel-yocto: exit on non-zero return code

Historically the processing of kernel meta data contained some
commands that exited with a non-zero return code. Special processing
was required to properly deal with their exit.

That is no longer true, and instead of handling all return codes
and doing an explicit 'exit' call, we can remove set -e from the
routine and have all errors be trapped and stop processing.

(From OE-Core rev: 476ffd57cf5b6fba40d4e3f5dd913824ab8a8d3d)

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>
meta/classes/kernel-yocto.bbclass