mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 21:26:49 +00:00
glibc: add option to install all locales to the build, enable by default
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
9641602204
commit
2869f9ef88
@ -14,6 +14,9 @@
|
|||||||
# Root password to integrate in the target system
|
# Root password to integrate in the target system
|
||||||
ROOT_PASSWORD="openelec"
|
ROOT_PASSWORD="openelec"
|
||||||
|
|
||||||
|
# Install glibc locales to the build (yes / no)
|
||||||
|
GLIBC_LOCALES="yes"
|
||||||
|
|
||||||
# Mediacenter to use (kodi / no)
|
# Mediacenter to use (kodi / no)
|
||||||
MEDIACENTER="kodi"
|
MEDIACENTER="kodi"
|
||||||
|
|
||||||
|
@ -139,10 +139,13 @@ post_makeinstall_target() {
|
|||||||
|
|
||||||
# remove locales and charmaps
|
# remove locales and charmaps
|
||||||
rm -rf $INSTALL/usr/share/i18n/charmaps
|
rm -rf $INSTALL/usr/share/i18n/charmaps
|
||||||
rm -rf $INSTALL/usr/share/i18n/locales
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/share/i18n/locales
|
if [ ! "$GLIBC_LOCALES" = yes ]; then
|
||||||
cp -PR $ROOT/$PKG_BUILD/localedata/locales/POSIX $INSTALL/usr/share/i18n/locales
|
rm -rf $INSTALL/usr/share/i18n/locales
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/usr/share/i18n/locales
|
||||||
|
cp -PR $ROOT/$PKG_BUILD/localedata/locales/POSIX $INSTALL/usr/share/i18n/locales
|
||||||
|
fi
|
||||||
|
|
||||||
# create default configs
|
# create default configs
|
||||||
mkdir -p $INSTALL/etc
|
mkdir -p $INSTALL/etc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user