Skip to contentSkip to conversation

traceroute: change the ALTERNATIVE_PRIORITY

PATCH New Yu, Mingli 1 participant 1 message Dec 23, 2020

lore
Share & tools
lore

Yu, Mingli

author
#0 lore raw

PATCH 1/1 traceroute: change the ALTERNATIVE_PRIORITY

From: Mingli Yu <[email protected]>

Both inetutils-traceroute and traceroute provide the traceroute command and the ALTERNATIVE_PRIORITY of inetutils-traceroute is 79 until now.

Increase the ALTERNATIVE_PRIORITY of traceroute to 100 to guarantee the traceroute command provided by traceroute when both of the packages installed.

---
 meta-networking/recipes-support/traceroute/traceroute_2.1.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-support/traceroute/traceroute_2.1.0.bb +1 -1
index 993794492..c673ed009 100644
@@ -40,6 +40,6 @@ do_install() {
 
 }
 
-ALTERNATIVE_PRIORITY = "60"
+ALTERNATIVE_PRIORITY = "100"
 ALTERNATIVE_${PN} = "traceroute"
 ALTERNATIVE_LINK_NAME[traceroute] = "${bindir}/traceroute"
Signature · 1 line
2.26.2