fix(iso): Try and improve mirrorlist handling (#7)

This commit is contained in:
hygienic-books 2023-10-23 02:52:10 +02:00
parent 615b8c0e95
commit e3d5f2b939

View File

@ -62,6 +62,16 @@ function resize_cow_space () {
function update_pacman_db () {
#1.4
printf -- '%s\n' 'Refreshing mirror list ...'
printf -- '%s\n' \
'--save /etc/pacman.d/mirrorlist' \
'--ipv4' \
'--ipv6' \
'--protocol https' \
'--latest 50' \
'--sort rate' \
'--score 30' \
'--fastest 10' \
> '/etc/xdg/reflector/reflector.conf'
systemctl start reflector
# In an ISO and for the minimal number of packages we need we do not
# care about partial upgrades