mirror of
https://git.yoctoproject.org/poky
synced 2026-04-10 05:02:22 +02:00
sanity.bbclass: add variable to disable the sanity checks
It's useful for Hob to be able to disable the sanity checks completely without marking them as passed so that the user can get into the GUI to configure their settings, etc. Add a variable, DISABLE_SANITY_CHECKS, to do so. (From OE-Core rev: b022641f939bcfcdaddddc4db3af4d2dc70de832) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
3639c6a19b
commit
4a224311ac
@@ -453,7 +453,7 @@ def check_sanity(e):
|
||||
|
||||
addhandler check_sanity_eventhandler
|
||||
python check_sanity_eventhandler() {
|
||||
if bb.event.getName(e) == "ConfigParsed" and e.data.getVar("BB_WORKERCONTEXT", True) != "1":
|
||||
if bb.event.getName(e) == "ConfigParsed" and e.data.getVar("BB_WORKERCONTEXT", True) != "1" and e.data.getVar("DISABLE_SANITY_CHECKS", True) != "1":
|
||||
check_sanity(e)
|
||||
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user