From patchwork Fri Apr 20 16:45:05 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [CONSOLIDATED,PULL,14/43] iputils: Use update-alternatives Date: Fri, 20 Apr 2012 16:45:05 -0000 From: Saul Wold X-Patchwork-Id: 26283 Message-Id: To: openembedded-core@lists.openembedded.org From: Mark Hatle Use MANUAL_ALTERNATIVE_LINKS to ensure that the package provides are being setup properly. Signed-off-by: Mark Hatle --- meta/recipes-extended/iputils/iputils_s20101006.bb | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/meta/recipes-extended/iputils/iputils_s20101006.bb b/meta/recipes-extended/iputils/iputils_s20101006.bb index a092192..aadcaf3 100644 --- a/meta/recipes-extended/iputils/iputils_s20101006.bb +++ b/meta/recipes-extended/iputils/iputils_s20101006.bb @@ -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 () {