summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2016-12-02 16:09:25 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-12-07 10:46:09 +0000
commite38775a1d82e6dc60fc96cf243ecb94be964d9b2 (patch)
tree97eb6f2d2a72962b0dd5ca663af561545f593366 /meta
parent80683aa4f8c01b1fab430554838906d3d4aeda10 (diff)
downloadpoky-e38775a1d82e6dc60fc96cf243ecb94be964d9b2.tar.gz
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>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/kernel-yocto.bbclass1
1 files changed, 0 insertions, 1 deletions
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):
61 return default 61 return default
62 62
63do_kernel_metadata() { 63do_kernel_metadata() {
64 set +e
65 cd ${S} 64 cd ${S}
66 export KMETA=${KMETA} 65 export KMETA=${KMETA}
67 66