Comments
Patch
@@ -13,7 +13,7 @@ LIC_FILES_CHKSUM = "file://ping.c;beginline=1;endline=35;md5=f9ceb201733e9a6cf8f
DEPENDS = "sysfsutils openssl docbook-utils-native sgmlspl-native"
-PR = "r3"
+PR = "r4"
SRC_URI = "http://www.skbuff.net/iputils/${BPN}-${PV}.tar.bz2 \
file://debian/fix-dead-host-ping-stats.diff \
@@ -47,6 +47,9 @@ do_install () {
done
}
+inherit update-alternatives
+MANUAL_ALTERNATIVE_LINKS = "${base_bindir}/ping ${base_bindir}/ping6"
+
# Busybox also provides ping and ping6, so use update-alternatives
# Also fixup SUID bit for applications that need it
pkg_postinst_${PN}-ping () {
Use MANUAL_ALTERNATIVE_LINKS to ensure that the package provides are being setup properly. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> --- meta/recipes-extended/iputils/iputils_s20101006.bb | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)