summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2012-06-22 14:56:05 +0200
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2012-06-24 16:53:26 -0300
commit604d910642741f71381158a70d0b414df521497b (patch)
tree58116478e825fafbfb20e77e92123761d9096f10
parent64b5e16928df04bcba16a1b244f634c1a3af0c8b (diff)
downloadarchiso32-604d910642741f71381158a70d0b414df521497b.tar.xz
Use mirror_status to rank mirrors
Signed-off-by: Pierre Schmitz <pierre@archlinux.de> Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
-rwxr-xr-xconfigs/releng/build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/releng/build.sh b/configs/releng/build.sh
index 22d7110..df5571a 100755
--- a/configs/releng/build.sh
+++ b/configs/releng/build.sh
@@ -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}" \