[oe] [PATCH 1/1] traceroute: rename alternatives name
Hongxu Jia
hongxu.jia at windriver.com
Tue Feb 25 06:14:30 UTC 2014
Rename traceroute's alternatives name from 'traceroute6' to 'traceroute'.
The 'traceroute6' is equivalent to 'traceroute -6' which means traceroute
in IPv6, and traceroute also supports IPv4. So traceroute6 is part of
traceroute and they are not equivalent.
The Ubuntu 13.04 treated them as two different alternatives name also.
...
$ ls -al /usr/bin/traceroute*
lrwxrwxrwx 1 root root 28 Feb 25 13:31 /usr/bin/traceroute -> /etc/alternatives/traceroute
lrwxrwxrwx 1 root root 29 Oct 22 2012 /usr/bin/traceroute6 -> /etc/alternatives/traceroute6
...
Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
---
meta-networking/recipes-support/traceroute/traceroute_2.0.18.bb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta-networking/recipes-support/traceroute/traceroute_2.0.18.bb b/meta-networking/recipes-support/traceroute/traceroute_2.0.18.bb
index e6718db..83ac5a7 100644
--- a/meta-networking/recipes-support/traceroute/traceroute_2.0.18.bb
+++ b/meta-networking/recipes-support/traceroute/traceroute_2.0.18.bb
@@ -39,5 +39,5 @@ do_install() {
}
-ALTERNATIVE_${PN} = "traceroute6"
-ALTERNATIVE_LINK_NAME[traceroute6] = "${bindir}/traceroute"
+ALTERNATIVE_${PN} = "traceroute"
+ALTERNATIVE_LINK_NAME[traceroute] = "${bindir}/traceroute"
--
1.8.1.2
More information about the Openembedded-devel
mailing list