summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-30 16:45:20 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-30 16:45:20 +0100
commit62d7e8d2d7614c7a842056a68a68b70df320d2b1 (patch)
tree72de1f31270b3926ba087808d425768ac3c498be /meta
parentb0dd8f5e71e33bdc2614133a7cbb21426ecee38d (diff)
downloadopenembedded-core-62d7e8d2d7614c7a842056a68a68b70df320d2b1.tar.gz
openembedded-core-62d7e8d2d7614c7a842056a68a68b70df320d2b1.tar.bz2
openembedded-core-62d7e8d2d7614c7a842056a68a68b70df320d2b1.zip
eglibc-package.bbclass: Ensure localedef is only packaged in one location
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/eglibc/eglibc-package.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-package.inc b/meta/recipes-core/eglibc/eglibc-package.inc
index 831835612e..1c6626c187 100644
--- a/meta/recipes-core/eglibc/eglibc-package.inc
+++ b/meta/recipes-core/eglibc/eglibc-package.inc
@@ -92,7 +92,7 @@ do_install_locale () {
dest=${D}/${includedir}/eglibc-locale-internal-${MULTIMACH_TARGET_SYS}
install -d ${dest}${base_libdir} ${dest}${bindir} ${dest}${libdir} ${dest}${datadir}
cp -fpPR ${D}${base_libdir}/* ${dest}${base_libdir}
- cp -fpP ${D}${bindir}/localedef ${dest}${bindir}
+ mv ${D}${bindir}/localedef ${dest}${bindir}
mv ${D}${libdir}/gconv ${dest}${libdir}
cp -fpPR ${D}${libdir}/* ${dest}${libdir}
mv ${D}${datadir}/i18n ${dest}${datadir}
@@ -100,7 +100,7 @@ do_install_locale () {
cp -fpPR ${WORKDIR}/SUPPORTED ${dest}
}
-addtask do_install_locale after do_install before do_populate_sysroot
+addtask do_install_locale after do_install before do_populate_sysroot do_package
PACKAGE_PREPROCESS_FUNCS += "eglibc_package_preprocess"