[oe-commits] Richard Purdie : eglibc-package.inc: Remove duplicate locale install

git at git.openembedded.org git at git.openembedded.org
Thu Jul 19 16:20:20 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: e9bf694b635baab9238088fbeb5d2d67e9190ccd
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=e9bf694b635baab9238088fbeb5d2d67e9190ccd

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Thu Jul 19 13:14:20 2012 +0000

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.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-core/eglibc/eglibc-package.inc |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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





More information about the Openembedded-commits mailing list