Skip to contentSkip to conversation

eglibc-package.inc: Remove duplicate locale install

PATCH New Richard Purdie 1 participant 1 message Jul 19, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 eglibc-package.inc: Remove duplicate locale install

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.

---

meta/recipes-core/eglibc/eglibc-package.inc +1 -0
index 119b443..af78456 100644
@@ -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}
 }