[oe-commits] [openembedded-core] 04/04: kernel-yocto: exit on non-zero return code
git at git.openembedded.org
git at git.openembedded.org
Wed Dec 7 10:46:43 UTC 2016
rpurdie pushed a commit to branch master
in repository openembedded-core.
commit 476ffd57cf5b6fba40d4e3f5dd913824ab8a8d3d
Author: Bruce Ashfield <bruce.ashfield at windriver.com>
AuthorDate: Fri Dec 2 16:09:25 2016 -0500
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 <bruce.ashfield at windriver.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/classes/kernel-yocto.bbclass | 1 -
1 file changed, 1 deletion(-)
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index 6160a29..7c32c96 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}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list