Skip to contentSkip to conversation

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

PATCH In review Graham Gower 2 participants 2 messages Dec 2, 2010 – Dec 11, 2010

lore
Share & tools
lore
#0 lore raw

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

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

---
 recipes/tasks/task-proper-tools.bb |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
recipes/tasks/task-proper-tools.bb +3 -3
index 5162749..bda774c 100644
@@ -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 \
Signature · 1 line
1.7.1
Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · Graham Gower

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

Quoted 35 lines
---
 recipes/tasks/task-proper-tools.bb |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
recipes/tasks/task-proper-tools.bb +3 -3
index 5162749..bda774c 100644
@@ -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 \
Signature · 7 lines
1.7.1


_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel