glibc: include UTF-8 charmap

Include UTF-8 charmap and compress it.
This commit is contained in:
Olli Salonen 2016-10-19 01:23:32 +03:00
parent dc3b0781ff
commit ffda25a314

View File

@ -136,8 +136,11 @@ post_makeinstall_target() {
rm -rf $INSTALL/usr/lib/*.map
rm -rf $INSTALL/var
# remove locales and charmaps
# remove locales and charmaps (except UTF-8 for installer)
rm -rf $INSTALL/usr/share/i18n/charmaps
mkdir -p $INSTALL/usr/share/i18n/charmaps
cp -PR $ROOT/$PKG_BUILD/localedata/charmaps/UTF-8 $INSTALL/usr/share/i18n/charmaps
gzip $INSTALL/usr/share/i18n/charmaps/UTF-8
if [ ! "$GLIBC_LOCALES" = yes ]; then
rm -rf $INSTALL/usr/share/i18n/locales