Skip to contentSkip to conversation

iproute2: add tc to the alternatives list

PATCH New Lars Persson 1 participant 1 message Mar 13, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iproute2: add tc to the alternatives list

The tc command is provided both by busybox and iproute2.

---
 meta/recipes-connectivity/iproute2/iproute2.inc | 4 ++++
 1 file changed, 4 insertions(+)
meta/recipes-connectivity/iproute2/iproute2.inc +4 -0
index b283589063..1aa1eec0de 100644
@@ -52,3 +52,7 @@ ALTERNATIVE_${PN} = "ip"
 ALTERNATIVE_TARGET[ip] = "${base_sbindir}/ip.${BPN}"
 ALTERNATIVE_LINK_NAME[ip] = "${base_sbindir}/ip"
 ALTERNATIVE_PRIORITY = "100"
+
+ALTERNATIVE_${PN}-tc = "tc"
+ALTERNATIVE_LINK_NAME[tc] = "${base_sbindir}/tc"
+ALTERNATIVE_PRIORITY_${PN}-tc = "100"
Signature · 1 line
2.11.0