Chroot: generate locale(s)

This commit is contained in:
Jeremy Gardais 2019-04-03 18:52:30 +02:00
parent 75c1b6725b
commit b057d1e3de
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
1 changed files with 7 additions and 0 deletions

View File

@ -223,6 +223,13 @@ iface ${net_device} inet static
source-directory /etc/network/interfaces.d" > /target/etc/network/interfaces source-directory /etc/network/interfaces.d" > /target/etc/network/interfaces
## }}}
## Locale {{{
### Enable locale(s)
sed -i 's/^# \(en_US.UTF-8 UTF-8\)/\1/' /target/etc/locale.gen
#sed -i 's/^# \(fr_FR.UTF-8 UTF-8\)/\1/' /target/etc/locale.gen
chroot /target locale-gen
## }}} ## }}}
# }}} # }}}
# Finish {{{ # Finish {{{