task-proper-tools.bb: Exclude some packages if DISTRO_FEATURES lacks ipv6.
authorGraham Gower <graham.gower@gmail.com>
Mon, 13 Dec 2010 01:22:41 +0000 (11:52 +1030)
committerGraham Gower <graham.gower@gmail.com>
Mon, 13 Dec 2010 01:22:41 +0000 (11:52 +1030)
Signed-off-by: Graham Gower <graham.gower@gmail.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
recipes/tasks/task-proper-tools.bb

index 5162749..bda774c 100644 (file)
@@ -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 \