summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-networking/recipes-support/nis/nis.inc2
-rw-r--r--meta-oe/recipes-support/opencv/opencv_3.1.bb2
2 files changed, 2 insertions, 2 deletions
diff --git a/meta-networking/recipes-support/nis/nis.inc b/meta-networking/recipes-support/nis/nis.inc
index c4aa10e3a2..e027a1c6f8 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}
diff --git a/meta-oe/recipes-support/opencv/opencv_3.1.bb b/meta-oe/recipes-support/opencv/opencv_3.1.bb
index a212f4f9d1..74e30e4170 100644
--- a/meta-oe/recipes-support/opencv/opencv_3.1.bb
+++ b/meta-oe/recipes-support/opencv/opencv_3.1.bb
@@ -106,7 +106,7 @@ python populate_packages_prepend () {
106 for pkg in packages[1:]: 106 for pkg in packages[1:]:
107 if not pkg in blacklist and not pkg in metapkg_rdepends and not pkg.endswith('-dev') and not pkg.endswith('-dbg') and not pkg.endswith('-doc') and not pkg.endswith('-locale'): 107 if not pkg in blacklist and not pkg in metapkg_rdepends and not pkg.endswith('-dev') and not pkg.endswith('-dbg') and not pkg.endswith('-doc') and not pkg.endswith('-locale'):
108 metapkg_rdepends.append(pkg) 108 metapkg_rdepends.append(pkg)
109 bb.data.setVar('RDEPENDS_' + metapkg, ' '.join(metapkg_rdepends), d) 109 d.setVar('RDEPENDS_' + metapkg, ' '.join(metapkg_rdepends))
110 110
111} 111}
112 112