summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/findutils/findutils.inc
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2012-04-16 11:04:50 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-24 15:51:33 +0100
commitbe2dbd1abfb4e0e6989d1c34c09047e439d8194e (patch)
treee0d9c629d57f50ebe321ed2d5c60d91603908c1e /meta/recipes-extended/findutils/findutils.inc
parentcb27e78bfc059d6878dcda8b7a27a078f7a871e4 (diff)
downloadopenembedded-core-be2dbd1abfb4e0e6989d1c34c09047e439d8194e.tar.gz
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. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Diffstat (limited to 'meta/recipes-extended/findutils/findutils.inc')
-rw-r--r--meta/recipes-extended/findutils/findutils.inc5
1 files changed, 4 insertions, 1 deletions
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