summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/nis
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-11-23 12:39:49 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2016-11-26 01:04:52 +0100
commitd361ef01a9a61cd8a83f7728f7d3e9f118233cb8 (patch)
treefc87bd4653a60f180ae525fa96f4cb126efd3018 /meta-networking/recipes-support/nis
parentac2abd467ec0e88e0c3663a55d38d9bfcbfe4618 (diff)
downloadmeta-openembedded-d361ef01a9a61cd8a83f7728f7d3e9f118233cb8.tar.gz
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 <richard.purdie@linuxfoundation.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support/nis')
-rw-r--r--meta-networking/recipes-support/nis/nis.inc2
1 files changed, 1 insertions, 1 deletions
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() {
25# so force the package to be skipped here (this will cause a 25# so force the package to be skipped here (this will cause a
26# 'nothing provides' error) 26# 'nothing provides' error)
27python () { 27python () {
28 os = bb.data.getVar("TARGET_OS", d, 1) 28 os = d.getVar("TARGET_OS", True)
29 if os == "linux-uclibc": 29 if os == "linux-uclibc":
30 raise bb.parse.SkipPackage("NIS functionality requires rpcsvc/yp.h, uClibC does not provide this") 30 raise bb.parse.SkipPackage("NIS functionality requires rpcsvc/yp.h, uClibC does not provide this")
31} 31}