Skip to content
Snippets Groups Projects
Commit 3512f73f authored by Guido Gunther's avatar Guido Gunther :zzz:
Browse files

Merge branch 'locale' into 'master'

root.sh: Generate more locales during install

Closes OS-issues#66

See merge request Librem5/image-builder!137
parents f592fc71 4580e600
No related branches found
No related tags found
No related merge requests found
...@@ -221,7 +221,14 @@ function setup_sshd() ...@@ -221,7 +221,14 @@ function setup_sshd()
function setup_locale() function setup_locale()
{ {
echo "en_US.UTF-8 UTF-8" > "${basedir}/etc/locale.gen" cat <<EOF > "${basedir}/etc/locale.gen"
ar_SA.UTF-8 UTF-8
de_DE.UTF-8 UTF-8
en_US.UTF-8 UTF-8
es_ES.UTF-8 UTF-8
fr_FR.UTF-8 UTF-8
ru_RU.UTF-8 UTF-8
EOF
chroot "${basedir}" dpkg-reconfigure locales chroot "${basedir}" dpkg-reconfigure locales
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment