From: Graham Gower Date: Mon, 13 Dec 2010 01:22:41 +0000 (+1030) Subject: task-proper-tools.bb: Exclude some packages if DISTRO_FEATURES lacks ipv6. X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0190e9cee19cf3d6be6c5bd093ffd2e67b11f67;p=openembedded.git task-proper-tools.bb: Exclude some packages if DISTRO_FEATURES lacks ipv6. Signed-off-by: Graham Gower Acked-by: Khem Raj --- diff --git a/recipes/tasks/task-proper-tools.bb b/recipes/tasks/task-proper-tools.bb index 516274982b..bda774c9eb 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 \