diff options
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 |