summaryrefslogtreecommitdiffstats
path: root/meta/packages/findutils/findutils_4.2.29.bb
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-08-19 18:10:21 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-08-19 18:10:21 +0100
commit5a826d30e0874a35b3cd4fd3b4a5a47a15935162 (patch)
treeca0d34f70e8f4b9b6744f8e07c7021e4b4eb0b53 /meta/packages/findutils/findutils_4.2.29.bb
parent0dc18c5339db880b656df68e5de1fb54dbf55405 (diff)
downloadpoky-5a826d30e0874a35b3cd4fd3b4a5a47a15935162.tar.gz
findutils: Add patch for mkdir issue and use BBCLASSEXTEND for the native version
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/findutils/findutils_4.2.29.bb')
-rw-r--r--meta/packages/findutils/findutils_4.2.29.bb10
1 files changed, 8 insertions, 2 deletions
diff --git a/meta/packages/findutils/findutils_4.2.29.bb b/meta/packages/findutils/findutils_4.2.29.bb
index 2f40d03bd4..6373bad9c6 100644
--- a/meta/packages/findutils/findutils_4.2.29.bb
+++ b/meta/packages/findutils/findutils_4.2.29.bb
@@ -1,8 +1,12 @@
1require findutils.inc 1require findutils.inc
2 2
3PR = "r2"
4
3do_install_append () { 5do_install_append () {
4 mv ${D}${bindir}/find ${D}${bindir}/find.${PN} 6 if [ -e ${D}${bindir}/find ]; then
5 mv ${D}${bindir}/xargs ${D}${bindir}/xargs.${PN} 7 mv ${D}${bindir}/find ${D}${bindir}/find.${PN}
8 mv ${D}${bindir}/xargs ${D}${bindir}/xargs.${PN}
9 fi
6} 10}
7 11
8pkg_postinst_${PN} () { 12pkg_postinst_${PN} () {
@@ -12,3 +16,5 @@ pkg_postinst_${PN} () {
12pkg_prerm_${PN} () { 16pkg_prerm_${PN} () {
13 for i in find xargs; do update-alternatives --remove $i $i.${PN}; done 17 for i in find xargs; do update-alternatives --remove $i $i.${PN}; done
14} 18}
19
20BBCLASSEXTEND = "native" \ No newline at end of file