]> code.ossystems Code Review - openembedded-core.git/commitdiff
eglibc-package.inc: Remove duplicate locale install
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 19 Jul 2012 13:14:20 +0000 (13:14 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 19 Jul 2012 15:58:50 +0000 (16:58 +0100)
Both eglibc-locale and eglibc were installing locale files into the sysroot.
Whilst this is in general harmless, its a waste of diskspace/time so this
moves the responsibility to the eglibc-locale package.

No PR bump this this is really a cleanup and doesn't affect build output,
the sstate size reduction will happen next time it is rebuilt.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/eglibc/eglibc-package.inc

index 119b4436497d07871242d464e024fa0730b92b7b..af784565d481991c1be4790e421e8239e7fe7d69 100644 (file)
@@ -105,6 +105,7 @@ do_install_locale () {
                mv ${D}${datadir}/i18n ${dest}${datadir}
        fi
        cp -fpPR ${D}${datadir}/* ${dest}${datadir}
+       rm -rf ${D}${datadir}/locale/
        cp -fpPR ${WORKDIR}/SUPPORTED ${dest}
 }