From b057d1e3de35d7d03473c150be5c9a053d4fcebc Mon Sep 17 00:00:00 2001 From: Gardouille Date: Wed, 3 Apr 2019 18:52:30 +0200 Subject: [PATCH] Chroot: generate locale(s) --- debian/chroot.install | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/debian/chroot.install b/debian/chroot.install index 17f92e9..66808cc 100755 --- a/debian/chroot.install +++ b/debian/chroot.install @@ -223,6 +223,13 @@ iface ${net_device} inet static 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 {{{