diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2012-04-16 11:04:50 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-26 10:05:08 +0100 |
commit | 46ffeed9183ec12ff20dbb5c5b46ea35555835d5 (patch) | |
tree | 7353d6e5f69aa4c1469b908a52257b6cbf3e94fd /meta/recipes-extended/findutils/findutils.inc | |
parent | f264a10d4ffbae5ee1ba6e6f1523d402df8a800d (diff) | |
download | poky-46ffeed9183ec12ff20dbb5c5b46ea35555835d5.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.
(From OE-Core rev: be2dbd1abfb4e0e6989d1c34c09047e439d8194e)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/findutils/findutils.inc')
-rw-r--r-- | meta/recipes-extended/findutils/findutils.inc | 5 |
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" | |||
12 | 12 | ||
13 | SRC_URI = "${GNU_MIRROR}/findutils/findutils-${PV}.tar.gz" | 13 | SRC_URI = "${GNU_MIRROR}/findutils/findutils-${PV}.tar.gz" |
14 | 14 | ||
15 | inherit autotools gettext | 15 | inherit autotools gettext update-alternatives |
16 | |||
17 | ALTERNATIVE_LINKS = "${bindir}/find ${bindir}/xargs" | ||
18 | ALTERNATIVE_PRIORITY = "100" | ||
16 | 19 | ||
17 | # diffutils assumes non-glibc compilation with uclibc and | 20 | # diffutils assumes non-glibc compilation with uclibc and |
18 | # this causes it to generate its own implementations of | 21 | # this causes it to generate its own implementations of |