From d361ef01a9a61cd8a83f7728f7d3e9f118233cb8 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 23 Nov 2016 12:39:49 +0000 Subject: nis, opencv: Update getVar/setVar syntax The deprecated APIs are removed from bitbake, update two old style references in meta-oe/meta-networking. Signed-off-by: Richard Purdie Signed-off-by: Martin Jansa --- meta-networking/recipes-support/nis/nis.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-networking/recipes-support/nis') diff --git a/meta-networking/recipes-support/nis/nis.inc b/meta-networking/recipes-support/nis/nis.inc index c4aa10e3a..e027a1c6f 100644 --- a/meta-networking/recipes-support/nis/nis.inc +++ b/meta-networking/recipes-support/nis/nis.inc @@ -25,7 +25,7 @@ do_install() { # so force the package to be skipped here (this will cause a # 'nothing provides' error) python () { - os = bb.data.getVar("TARGET_OS", d, 1) + os = d.getVar("TARGET_OS", True) if os == "linux-uclibc": raise bb.parse.SkipPackage("NIS functionality requires rpcsvc/yp.h, uClibC does not provide this") } -- cgit v1.2.3-54-g00ecf