All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH][meta-networking] traceroute: give high priority when update-alternatives
@ 2015-01-21  5:54 rongqing.li
  2015-01-22 15:21 ` Martin Jansa
  0 siblings, 1 reply; 2+ messages in thread
From: rongqing.li @ 2015-01-21  5:54 UTC (permalink / raw)
  To: openembedded-devel

From: Roy Li <rongqing.li@windriver.com>

busybox provides traceroute command and uses the default priority to
update-alternatives, if traceroute is not defined the priority, the
traceroute maybe link to busybox's

Signed-off-by: Roy Li <rongqing.li@windriver.com>
---
 meta-networking/recipes-support/traceroute/traceroute_2.0.20.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-networking/recipes-support/traceroute/traceroute_2.0.20.bb b/meta-networking/recipes-support/traceroute/traceroute_2.0.20.bb
index 4b49c76..914c2a0 100644
--- a/meta-networking/recipes-support/traceroute/traceroute_2.0.20.bb
+++ b/meta-networking/recipes-support/traceroute/traceroute_2.0.20.bb
@@ -38,5 +38,6 @@ do_install() {
 
 }
 
+ALTERNATIVE_PRIORITY = "60"
 ALTERNATIVE_${PN} = "traceroute"
 ALTERNATIVE_LINK_NAME[traceroute] = "${bindir}/traceroute"
-- 
2.1.0



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-22 15:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-21  5:54 [PATCH][meta-networking] traceroute: give high priority when update-alternatives rongqing.li
2015-01-22 15:21 ` Martin Jansa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.