From 46ffeed9183ec12ff20dbb5c5b46ea35555835d5 Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Mon, 16 Apr 2012 11:04:50 -0500 Subject: findutils: Use update-alternatives Change to using update-alternatives to ensure that we're consistently using the class, and the package provides are being setup properly. (From OE-Core rev: be2dbd1abfb4e0e6989d1c34c09047e439d8194e) Signed-off-by: Mark Hatle Signed-off-by: Richard Purdie --- meta/recipes-extended/findutils/findutils.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'meta/recipes-extended/findutils/findutils.inc') diff --git a/meta/recipes-extended/findutils/findutils.inc b/meta/recipes-extended/findutils/findutils.inc index 7a07ad502f..64909a1f8c 100644 --- a/meta/recipes-extended/findutils/findutils.inc +++ b/meta/recipes-extended/findutils/findutils.inc @@ -12,7 +12,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949" SRC_URI = "${GNU_MIRROR}/findutils/findutils-${PV}.tar.gz" -inherit autotools gettext +inherit autotools gettext update-alternatives + +ALTERNATIVE_LINKS = "${bindir}/find ${bindir}/xargs" +ALTERNATIVE_PRIORITY = "100" # diffutils assumes non-glibc compilation with uclibc and # this causes it to generate its own implementations of -- cgit v1.2.3-54-g00ecf