* [PATCH] eglibc-package.inc: Remove duplicate locale install
@ 2012-07-19 13:23 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2012-07-19 13:23 UTC (permalink / raw)
To: openembedded-core
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>
---
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}
}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-07-19 13:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-19 13:23 [PATCH] eglibc-package.inc: Remove duplicate locale install Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox