Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Graham Gower <graham.gower@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [PATCH] task-proper-tools.bb: Exclude some packages if DISTRO_FEATURES lacks ipv6.
Date: Thu, 02 Dec 2010 11:12:21 +1030	[thread overview]
Message-ID: <4CF6EB6D.8080404@gmail.com> (raw)

From 3fa2634efe81e5d711a423497e3b76a66a821766 Mon Sep 17 00:00:00 2001
From: Graham Gower <graham.gower@gmail.com>
Date: Thu, 2 Dec 2010 11:10:47 +1030
Subject: [PATCH] task-proper-tools.bb: Exclude some packages if DISTRO_FEATURES lacks ipv6.


Signed-off-by: Graham Gower <graham.gower@gmail.com>
---
 recipes/tasks/task-proper-tools.bb |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/recipes/tasks/task-proper-tools.bb b/recipes/tasks/task-proper-tools.bb
index 5162749..bda774c 100644
--- a/recipes/tasks/task-proper-tools.bb
+++ b/recipes/tasks/task-proper-tools.bb
@@ -1,5 +1,5 @@
 DESCRIPTION = "Full versions of tools provided by busybox"
-PR = "r15"
+PR = "r16"
 
 inherit task
 
@@ -21,9 +21,9 @@ RDEPENDS_${PN} = "\
 		grep \
 		gzip \
 		ifupdown \
-		iproute2 \
+		${@base_contains('DISTRO_FEATURES', 'ipv6', 'iproute2', '', d)} \
 		iputils-arping \
-		iputils-ping6 \
+		${@base_contains('DISTRO_FEATURES', 'ipv6', 'iputils-ping6', '', d)} \
 		iputils-ping \
 		iputils \
 		less \
-- 
1.7.1




             reply	other threads:[~2010-12-02  0:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-02  0:42 Graham Gower [this message]
2010-12-11 10:14 ` [PATCH] task-proper-tools.bb: Exclude some packages if DISTRO_FEATURES lacks ipv6 Khem Raj

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CF6EB6D.8080404@gmail.com \
    --to=graham.gower@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox