Patchwork Remove duplicate locale install

mail settings
Submitter Richard Purdie
Date July 19, 2012, 1:23 p.m.
Message ID <1342704221.7940.10.camel@ted>
Download mbox | patch
Permalink /patch/32521/
State Accepted
Commit e9bf694b635baab9238088fbeb5d2d67e9190ccd
Headers show


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 <>


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}