diff options
-rw-r--r-- | archinstall.sh | 3 | ||||
-rw-r--r-- | stages/second_stage.sh | 18 |
2 files changed, 20 insertions, 1 deletions
diff --git a/archinstall.sh b/archinstall.sh index dbff991..6f02551 100644 --- a/archinstall.sh +++ b/archinstall.sh @@ -70,7 +70,8 @@ export boot_mode="unknown" # alternatives: "bios" or "uefi" export path_to_disk="/dev/sda" # e.g. "/dev/sda" ######################## REMOVE FOR PRODUCTION export luks_encryption="no" # alternative: "yes" export path_to_timezone="/usr/share/zoneinfo/Europe/Berlin" -export locales_to_generate="de_DE.UTF-8 UTF-8;de_DE ISO-8859-1;de_DE@euro ISO-8859-15" +export locales_to_generate="de_DE.UTF-8 UTF-8\nde_DE ISO-8859-1\nde_DE@euro ISO-8859-15\n" +export language="de_DE.UTF-8" export keymap="de-latin1" export hostname="archlinux" # will be set to a user-chosen hostname 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 |