Skip to contentSkip to conversation

nis: Drop uclibc check in anon python function

PATCH New Khem Raj 1 participant 1 message Aug 5, 2021

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 nis: Drop uclibc check in anon python function

uclibc is no longer supported

---
 meta-networking/recipes-support/nis/nis.inc | 9 ---------
 1 file changed, 9 deletions(-)
meta-networking/recipes-support/nis/nis.inc +0 -9
index a968af174f..3ae0f7e95a 100644
@@ -20,12 +20,3 @@ inherit autotools gettext pkgconfig
 do_install() {
     oe_runmake 'DESTDIR=${D}' install-strip
 }
-
-# An attempt to build on uclibc will fail, causing annoyance,
-# so force the package to be skipped here (this will cause a
-# 'nothing provides' error)
-python () {
-    os = d.getVar("TARGET_OS")
-    if os == "linux-uclibc":
-        raise bb.parse.SkipRecipe("NIS functionality requires rpcsvc/yp.h, uClibC does not provide this")
-}

--
2.32.0