Remove duplicate locale install

Submitted by Richard Purdie on July 19, 2012, 1:23 p.m. | Patch ID: 32521


Message ID 1342704221.7940.10.camel@ted
State Accepted
Commit e9bf694b635baab9238088fbeb5d2d67e9190ccd
Headers show

Commit Message

Richard Purdie July 19, 2012, 1:23 p.m.
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 <>

Patch hide | download patch | download mbox

diff --git a/meta/recipes-core/eglibc/ b/meta/recipes-core/eglibc/
index 119b443..af78456 100644
--- a/meta/recipes-core/eglibc/
+++ b/meta/recipes-core/eglibc/
@@ -105,6 +105,7 @@  do_install_locale () {
 		mv ${D}${datadir}/i18n ${dest}${datadir}
 	cp -fpPR ${D}${datadir}/* ${dest}${datadir}
+	rm -rf ${D}${datadir}/locale/
 	cp -fpPR ${WORKDIR}/SUPPORTED ${dest}