]> code.ossystems Code Review - openembedded-core.git/commit
sanity.bbclass: split out config re-parse check
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Thu, 15 Sep 2016 11:21:26 +0000 (14:21 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 16 Sep 2016 14:15:33 +0000 (15:15 +0100)
commit8fda70bb74f7c63d393d5424436d034d2cc6c05e
treed1db2ab6098b1d12351b738fcc5ac652e90bb618
parent3309007b423654c1b021d85205f81e68cbd84475
sanity.bbclass: split out config re-parse check

Split out the functionality doing configuration re-parse check into a
separate event handler that is hooked into ConfigParsed event. This will
make config re-parsing actually work. Re-parsing in bitbake is triggered
by setting BB_INVALIDCONF whose value is checked after configuration has
been parsed (after ConfigParsed event). However, previously
BB_INVALIDCONF was set in SanityCheck event handler which caused
re-parsing never to happen.

[YOCTO #10188]

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sanity.bbclass