From: Bruce Ashfield Date: Fri, 2 Dec 2016 21:09:25 +0000 (-0500) Subject: kernel-yocto: exit on non-zero return code X-Git-Tag: uninative-1.5~1230 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=476ffd57cf5b6fba40d4e3f5dd913824ab8a8d3d;p=openembedded-core.git 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. Signed-off-by: Bruce Ashfield Signed-off-by: Ross Burton --- diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass index 6160a29ecb..7c32c96646 100644 --- a/meta/classes/kernel-yocto.bbclass +++ b/meta/classes/kernel-yocto.bbclass @@ -61,7 +61,6 @@ def get_machine_branch(d, default): return default do_kernel_metadata() { - set +e cd ${S} export KMETA=${KMETA}