Skip to contentSkip to conversation

libnss-nis: Limit parse skip only for target recipe on musl

PATCH New Khem Raj 1 participant 1 message Jul 4, 2018

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 libnss-nis: Limit parse skip only for target recipe on musl

on the host side we are glibc based therefore some native and nativesdk recipes might need this package even when we target musl based systems

---
 meta/recipes-extended/libnss-nis/libnss-nis.bb | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
meta/recipes-extended/libnss-nis/libnss-nis.bb +1 -6
index e0f69b02ef..47447acd6c 100644
@@ -28,9 +28,4 @@ BBCLASSEXTEND += "native nativesdk"
 #
 # We will skip parsing this packagegeoup for non-glibc systems
 #
-python __anonymous () {
-    if d.getVar('TCLIBC') != "glibc":
-        raise bb.parse.SkipRecipe("incompatible with %s C library" %
-                                   d.getVar('TCLIBC'))
-}
-
+COMPATIBLE_HOST_libc-musl = 'null'
Signature · 1 line
2.18.0