summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2019-08-06 11:16:32 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-08-06 11:24:26 +0100
commitc49aa783d84eb4dd8241e7baed44775c53e8c511 (patch)
treec5b40e0dd856758ba715141a1e0231a233f19a6e
parent546c32753b2f0c2174c360ba83a7d2f7ffbb33f7 (diff)
downloadpoky-c49aa783d84eb4dd8241e7baed44775c53e8c511.tar.gz
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>
-rw-r--r--meta/classes/sanity.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 9429202dca..2d3f49eb1a 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -573,7 +573,7 @@ def sanity_check_conffiles(d):
573 if check_conf_exists(conffile, d) and d.getVar(current_version) is not None and \ 573 if check_conf_exists(conffile, d) and d.getVar(current_version) is not None and \
574 d.getVar(current_version) != d.getVar(required_version): 574 d.getVar(current_version) != d.getVar(required_version):
575 try: 575 try:
576 bb.build.exec_func(func, d, pythonexception=True) 576 bb.build.exec_func(func, d)
577 except NotImplementedError as e: 577 except NotImplementedError as e:
578 bb.fatal(str(e)) 578 bb.fatal(str(e))
579 d.setVar("BB_INVALIDCONF", True) 579 d.setVar("BB_INVALIDCONF", True)