diff options
Diffstat (limited to 'meta-networking/recipes-support/nis')
| -rw-r--r-- | meta-networking/recipes-support/nis/nis.inc | 2 |
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 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) |
| 27 | python () { | 27 | python () { |
| 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 | } |
