]> 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>
Thu, 27 Jul 2017 21:35:12 +0000 (22:35 +0100)
commit3470a3839577b99322c10f830cdaa61128ef6b16
tree98b59ee76a29c543a0fa15ce4e865d6232ad0f04
parente3c832e49a9596537198a46075ed3d6794639953
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>
(cherry picked from commit 960652416e2390337df6d9734375d6829ceb6420)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/classes/kernel-yocto.bbclass