[oe-commits] Graham Gower : task-proper-tools.bb: Exclude some packages if DISTRO_FEATURES lacks ipv6.

git version control git at git.openembedded.org
Mon Dec 13 01:24:53 UTC 2010


Module: openembedded.git
Branch: master
Commit: b0190e9cee19cf3d6be6c5bd093ffd2e67b11f67
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=b0190e9cee19cf3d6be6c5bd093ffd2e67b11f67

Author: Graham Gower <graham.gower at gmail.com>
Date:   Mon Dec 13 12:10:41 2010 +1030

task-proper-tools.bb: Exclude some packages if DISTRO_FEATURES lacks ipv6.

Signed-off-by: Graham Gower <graham.gower at gmail.com>
Acked-by: Khem Raj <raj.khem at 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 \





More information about the Openembedded-commits mailing list