diff options
author | xengineering <mail2xengineering@protonmail.com> | 2020-03-18 14:02:16 +0100 |
---|---|---|
committer | xengineering <mail2xengineering@protonmail.com> | 2020-03-18 14:02:16 +0100 |
commit | 9a3fb771fbce4b9ace6ee4bebdd60c9985210dff (patch) | |
tree | b5bd81bcc4243a7ca2b8abd360335f1f9dc4a507 /stages/second_stage.sh | |
parent | 27dd408ef896e1d76e8d9b1ead2d19dd239b46ae (diff) | |
download | archinstall-9a3fb771fbce4b9ace6ee4bebdd60c9985210dff.tar archinstall-9a3fb771fbce4b9ace6ee4bebdd60c9985210dff.tar.zst archinstall-9a3fb771fbce4b9ace6ee4bebdd60c9985210dff.zip |
Implement Timezone and Localization
Diffstat (limited to 'stages/second_stage.sh')
-rw-r--r-- | stages/second_stage.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/stages/second_stage.sh b/stages/second_stage.sh index abb8ed9..3070e50 100644 --- a/stages/second_stage.sh +++ b/stages/second_stage.sh @@ -23,4 +23,22 @@ set -e +# Debug output + echo "Entering second_stage.sh - OK" + + +# Set timezone + +ln -sf $path_to_timezone /etc/localtime +hwclock --systohc + + +# Localization + +echo "$locales_to_generate" >> /etc/locale.gen +locale-gen +touch /etc/locale.conf +echo "LANG=$language" >> /etc/locale.conf +touch /etc/vconsole.conf +echo "KEYMAP=$keymap" >> /etc/vconsole.conf |