]> code.ossystems Code Review - openembedded-core.git/commit
kernel-yocto: propagate configuration errors to bbclass
authorBruce Ashfield <bruce.ashfield@windriver.com>
Tue, 13 Jun 2017 07:26:17 +0000 (03:26 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 17 Jul 2017 12:49:01 +0000 (13:49 +0100)
commit960652416e2390337df6d9734375d6829ceb6420
tree8f9c4fb8aa55d46df97200c5fd2bc1ed7eef312b
parent19e793f65d214294baa9eeaf982f4ced351c7748
kernel-yocto: propagate configuration errors to bbclass

As pointed out by klapperichpaul@johndeere.com, missing configuration
fragments were being picked up twice, once by the tools and once by the
bbclass. Unfortunately, the tools error message was being detected as
configs, and hence no error was reported at all.

Rather than catching the output of the tools, we can instead check the
return code and propagate the error message from the tools directly to
the user.

[YOCTO #11649]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/kernel-yocto.bbclass