All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-networking][PATCH 1/1] ypbind-mt: add dependency but keep as broken
@ 2015-07-22 18:54 Joe Slater
  2015-07-22 20:31 ` Joe MacDonald
  2015-07-27 12:00 ` Martin Jansa
  0 siblings, 2 replies; 7+ messages in thread
From: Joe Slater @ 2015-07-22 18:54 UTC (permalink / raw)
  To: openembedded-devel

We will need the conditional dependency on systemd.  It is
not a good idea to use PNBLACKLIST in a recipe, and the
version here does not suppress lib32-ypbind-mt.

Signed-off-by: Joe Slater <jslater@windriver.com>
---
 recipes-support/nis/ypbind-mt_2.2.bb |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/meta-networking/recipes-support/nis/ypbind-mt_2.2.bb b/meta-networking/recipes-support/nis/ypbind-mt_2.2.bb
index 4f8bf48..359b020 100644
--- a/meta-networking/recipes-support/nis/ypbind-mt_2.2.bb
+++ b/meta-networking/recipes-support/nis/ypbind-mt_2.2.bb
@@ -15,10 +15,12 @@ of known secure NIS server (/etc/yp.conf) Binds to \
 the server which answered as first. \
 "
 HOMEPAGE = "http://www.linux-nis.org/nis/ypbind-mt/index.html"
-DEPENDS = "yp-tools"
+DEPENDS = "yp-tools ${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}"
 PROVIDES += "ypbind"
 
-PNBLACKLIST[ypbind-mt] ?= "BROKEN: Depends on broken yp-tools"
+python () {
+    raise bb.parse.SkipPackage("BROKEN: Depends on broken yp-tools")
+}
 
 SRC_URI = "http://www.linux-nis.org/download/ypbind-mt/${BP}.tar.bz2 \
            file://ypbind-yocto.init \
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-07-30 18:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-22 18:54 [meta-networking][PATCH 1/1] ypbind-mt: add dependency but keep as broken Joe Slater
2015-07-22 20:31 ` Joe MacDonald
2015-07-28 19:39   ` Slater, Joseph
2015-07-30 15:41     ` Joe MacDonald
2015-07-30 18:19       ` Slater, Joseph
2015-07-30 18:55         ` Martin Jansa
2015-07-27 12:00 ` Martin Jansa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.