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 <