Use mirror_status to rank mirrors
Signed-off-by: Pierre Schmitz <pierre@archlinux.de> Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
This commit is contained in:
parent
64b5e16928
commit
604d910642
@ -136,7 +136,7 @@ make_customize_root_image() {
|
||||
chmod 750 ${work_dir}/root-image/etc/sudoers.d
|
||||
chmod 440 ${work_dir}/root-image/etc/sudoers.d/g_wheel
|
||||
mkdir -p ${work_dir}/root-image/etc/pacman.d
|
||||
wget -O ${work_dir}/root-image/etc/pacman.d/mirrorlist http://www.archlinux.org/mirrorlist/all/
|
||||
wget -O ${work_dir}/root-image/etc/pacman.d/mirrorlist 'https://www.archlinux.org/mirrorlist/?country=all&protocol=http&use_mirror_status=on'
|
||||
sed -i "s/#Server/Server/g" ${work_dir}/root-image/etc/pacman.d/mirrorlist
|
||||
sed -i 's/#\(en_US\.UTF-8\)/\1/' ${work_dir}/root-image/etc/locale.gen
|
||||
mkarchiso ${verbose} -w "${work_dir}" -D "${install_dir}" \
|
||||
|
Loading…
Reference in New Issue
Block a user