Skip to contentSkip to conversation

traceroute: give high priority when update-alternatives

PATCH Superseded [email protected] 2 participants 2 messages Jan 21, 2015 – Jan 22, 2015

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 traceroute: give high priority when update-alternatives

From: Roy Li <[email protected]>

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

---
 meta-networking/recipes-support/traceroute/traceroute_2.0.20.bb | 1 +
 1 file changed, 1 insertion(+)
meta-networking/recipes-support/traceroute/traceroute_2.0.20.bb +1 -0
index 4b49c76..914c2a0 100644
@@ -38,5 +38,6 @@ do_install() {
 
 }
 
+ALTERNATIVE_PRIORITY = "60"
 ALTERNATIVE_${PN} = "traceroute"
 ALTERNATIVE_LINK_NAME[traceroute] = "${bindir}/traceroute"
Signature · 1 line
2.1.0
#1 lore raw
Quoted 5 lines · On Wed, Jan 21, 2015 at 01:54:43PM +0800, [email protected] wrote:

From: Roy Li <[email protected]>

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

Doesn't apply, test your changes in master. This has to be older than 2 weeks when it was sent.

commit 6303c3c0de184388febdd60f9cb3f8b3c3522fec

Author:     Paul Eggleton <[email protected]>
AuthorDate: Mon Jan 5 10:51:29 2015 +0000
Commit:     Joe MacDonald <[email protected]>
CommitDate: Wed Jan 7 13:58:52 2015 -0500

traceroute: update to 2.0.21

Also fix LICENSE to be "or any later version" (as specified in the upstream source headers); both licenses apply so use &.

Quoted 25 lines
---
 meta-networking/recipes-support/traceroute/traceroute_2.0.20.bb | 1 +
 1 file changed, 1 insertion(+)
meta-networking/recipes-support/traceroute/traceroute_2.0.20.bb +1 -0
index 4b49c76..914c2a0 100644
@@ -38,5 +38,6 @@ do_install() {
 
 }
 
+ALTERNATIVE_PRIORITY = "60"
 ALTERNATIVE_${PN} = "traceroute"
 ALTERNATIVE_LINK_NAME[traceroute] = "${bindir}/traceroute"
Signature · 7 lines
2.1.0

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]