[arch-releng] [PATCH 5/6] Use mirror_status to rank mirrors
Signed-off-by: Pierre Schmitz <pierre@archlinux.de> --- configs/releng/build.sh | 2 +- 1 Datei geändert, 1 Zeile hinzugefügt(+), 1 Zeile entfernt(-) 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}" \ -- 1.7.11
On Fri, Jun 22, 2012 at 8:23 AM, Pierre Schmitz <pierre@archlinux.de> wrote:
Signed-off-by: Pierre Schmitz <pierre@archlinux.de> --- configs/releng/build.sh | 2 +- 1 Datei geändert, 1 Zeile hinzugefügt(+), 1 Zeile entfernt(-) +1.
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}" \ -- 1.7.11
On 06/22/2012 10:23 AM, Pierre Schmitz wrote:
Signed-off-by: Pierre Schmitz <pierre@archlinux.de> --- configs/releng/build.sh | 2 +- 1 Datei geändert, 1 Zeile hinzugefügt(+), 1 Zeile entfernt(-)
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}" \ +1
-- Gerardo Exequiel Pozzi \cos^2\alpha + \sin^2\alpha = 1
participants (3)
-
Dan McGee
-
Gerardo Exequiel Pozzi
-
Pierre Schmitz