[OE-core] [PATCH] sanity: update for new bb.build.exec_func() behaviour
Ross Burton
ross.burton at intel.com
Tue Aug 6 10:17:20 UTC 2019
The pythonexception argument is no more, and passing True is the new behavior.
[ YOCTO #13468 ]
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/classes/sanity.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 9429202dcad..2d3f49eb1a7 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -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)
--
2.20.1
More information about the Openembedded-core
mailing list