diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2017-03-01 18:30:49 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-03-07 13:30:26 +0100 |
commit | 0c31f55bcfd6630d894dd2dda6ca483bea5de4ab (patch) | |
tree | 362ae6300bfa295709e24a4879639fb4c0fb5116 /meta-networking/recipes-support/nis | |
parent | b4524eb786472e69e28212a58a329a5e44e40547 (diff) | |
download | meta-openembedded-0c31f55bcfd6630d894dd2dda6ca483bea5de4ab.tar.gz |
Make use of the new bb.utils.filter() function
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support/nis')
-rw-r--r-- | meta-networking/recipes-support/nis/ypbind-mt_1.38.bb | 2 | ||||
-rw-r--r-- | meta-networking/recipes-support/nis/ypbind-mt_2.2.bb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta-networking/recipes-support/nis/ypbind-mt_1.38.bb b/meta-networking/recipes-support/nis/ypbind-mt_1.38.bb index 9fc6406b7..b9c0aa700 100644 --- a/meta-networking/recipes-support/nis/ypbind-mt_1.38.bb +++ b/meta-networking/recipes-support/nis/ypbind-mt_1.38.bb | |||
@@ -19,7 +19,7 @@ This is the final IPv4-only version of ypbind-mt. \ | |||
19 | HOMEPAGE = "http://www.linux-nis.org/nis/ypbind-mt/index.html" | 19 | HOMEPAGE = "http://www.linux-nis.org/nis/ypbind-mt/index.html" |
20 | DEPENDS = " \ | 20 | DEPENDS = " \ |
21 | yp-tools \ | 21 | yp-tools \ |
22 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \ | 22 | ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ |
23 | " | 23 | " |
24 | RDEPENDS_${PN} += "yp-tools" | 24 | RDEPENDS_${PN} += "yp-tools" |
25 | 25 | ||
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 82544e759..5e0056738 100644 --- a/meta-networking/recipes-support/nis/ypbind-mt_2.2.bb +++ b/meta-networking/recipes-support/nis/ypbind-mt_2.2.bb | |||
@@ -15,7 +15,7 @@ of known secure NIS server (/etc/yp.conf) Binds to \ | |||
15 | the server which answered as first. \ | 15 | the server which answered as first. \ |
16 | " | 16 | " |
17 | HOMEPAGE = "http://www.linux-nis.org/nis/ypbind-mt/index.html" | 17 | HOMEPAGE = "http://www.linux-nis.org/nis/ypbind-mt/index.html" |
18 | DEPENDS = "yp-tools ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" | 18 | DEPENDS = "yp-tools ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" |
19 | PROVIDES += "ypbind" | 19 | PROVIDES += "ypbind" |
20 | 20 | ||
21 | PNBLACKLIST[ypbind-mt] ?= "BROKEN: Depends on broken yp-tools" | 21 | PNBLACKLIST[ypbind-mt] ?= "BROKEN: Depends on broken yp-tools" |