]> code.ossystems Code Review - openembedded-core.git/commitdiff
eglibc-package.bbclass: Ensure localedef is only packaged in one location
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 30 Jun 2011 15:45:20 +0000 (16:45 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 30 Jun 2011 15:45:20 +0000 (16:45 +0100)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/eglibc/eglibc-package.inc

index 831835612ec5a4b6d006209247f59c5a389ced98..1c6626c187f8599aff71280c250935c9beae9614 100644 (file)
@@ -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"