sanity: update for new bb.build.exec_func() behaviour

The pythonexception argument is no more, and passing True is the new behavior.

[ YOCTO #13468 ]

(From OE-Core rev: b7a34d2b8d684e5b98f5c286de67dc1b5d8df853)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton
2019-08-06 11:16:32 +01:00
committed by Richard Purdie
parent 546c32753b
commit c49aa783d8

View File

@@ -573,7 +573,7 @@ def sanity_check_conffiles(d):
if check_conf_exists(conffile, d) and d.getVar(current_version) is not None and \
d.getVar(current_version) != d.getVar(required_version):
try:
bb.build.exec_func(func, d, pythonexception=True)
bb.build.exec_func(func, d)
except NotImplementedError as e:
bb.fatal(str(e))
d.setVar("BB_INVALIDCONF", True)