1
0
Fork 0

Gentoo: add file /etc/locale.gen

This commit is contained in:
Alex Kotov 2025-02-12 08:27:14 +04:00
parent 5ba0167fda
commit cb4305fe41
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08
2 changed files with 28 additions and 0 deletions

View file

@ -32,6 +32,7 @@ fi
if [ "$PREFIX" = 'gentoo' ]; then
echo
install_file gentoo root root 644 '/etc/dracut.conf'
install_file gentoo root root 644 '/etc/locale.gen'
echo
install_file gentoo root root 644 '/etc/conf.d/display-manager'
install_file gentoo root root 644 '/etc/default/grub'

27
gentoo/etc/locale.gen Normal file
View file

@ -0,0 +1,27 @@
# /etc/locale.gen: list all of the locales you want to have on your system.
# See the locale.gen(5) man page for more details.
#
# The format of each line:
# <locale name> <charset>
#
# Where <locale name> starts with a name as found in /usr/share/i18n/locales/.
# It must be unique in the file as it is used as the key to locale variables.
# For non-default encodings, the <charset> is typically appended.
#
# Where <charset> is a charset located in /usr/share/i18n/charmaps/ (sans any
# suffix like ".gz").
#
# All blank lines and lines starting with # are ignored.
#
# For the default list of supported combinations, see the file:
# /usr/share/i18n/SUPPORTED
#
# Whenever glibc is emerged, the locales listed here will be automatically
# rebuilt for you. After updating this file, you can simply run `locale-gen`
# yourself instead of re-emerging glibc.
en_US ISO-8859-1
en_US.UTF-8 UTF-8
pl_PL ISO-8859-2
pl_PL.UTF-8 UTF-8