fix(iso): Try and improve mirrorlist handling (#7)
This commit is contained in:
parent
615b8c0e95
commit
e3d5f2b939
10
setup.sh
10
setup.sh
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user