From b6129e6649198e55adbea33d646f5834645504f6 Mon Sep 17 00:00:00 2001 From: lelgenio Date: Fri, 17 Apr 2020 23:17:35 -0300 Subject: [PATCH] bump --- arch_install | 141 +++++++++++++++++++++++++-------------------------- 1 file changed, 69 insertions(+), 72 deletions(-) diff --git a/arch_install b/arch_install index 7b569ec..c5188b1 100755 --- a/arch_install +++ b/arch_install @@ -73,6 +73,9 @@ USER_PASSWORD='' # System timezone. TIMEZONE='America/Sao_Paulo' +# Country code for pacman repos +COUNTRY='BR' + # Have /tmp on a tmpfs or not. Leave blank to disable. # Only leave this blank on systems with very little RAM. TMP_ON_TMPFS='TRUE' @@ -209,6 +212,9 @@ setup() { echo 'Mounting filesystems' mount_filesystems "$boot_dev" + echo 'Setting repos' + set_repos + echo 'Installing base system' install_base @@ -338,6 +344,69 @@ mount_filesystems() { swapon /dev/vg00/swap } #}}} +# set_repos() {{{{ +set_repos() { + # /etc/pacman.conf{{{ + cat > /etc/pacman.conf < /etc/pacman.conf < /etc/mirrorlist <