From 17db28d023223d82fb2909cfd88a402f4dbed561 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 10 Oct 2017 13:51:00 +0200 Subject: configs/releng/build.sh: install original mirrorlist for x86_64 --- configs/releng/build.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configs/releng/build.sh b/configs/releng/build.sh index 25be63d..7e30362 100755 --- a/configs/releng/build.sh +++ b/configs/releng/build.sh @@ -95,7 +95,11 @@ make_setup_mkinitcpio() { make_customize_airootfs() { cp -af ${script_path}/airootfs ${work_dir}/${arch} - curl -o ${work_dir}/${arch}/airootfs/etc/pacman.d/mirrorlist 'https://raw.githubusercontent.com/archlinux32/packages/master/core/pacman-mirrorlist/mirrorlist' + if [ "${arch}" = 'i686' ]; then + curl -o ${work_dir}/${arch}/airootfs/etc/pacman.d/mirrorlist 'https://raw.githubusercontent.com/archlinux32/packages/master/core/pacman-mirrorlist/mirrorlist' + else + curl -o ${work_dir}/${arch}/airootfs/etc/pacman.d/mirrorlist 'https://www.archlinux.org/mirrorlist/?country=all&protocol=http&use_mirror_status=on' + fi lynx -dump -nolist 'https://wiki.archlinux.org/index.php/Installation_Guide?action=render' >> ${work_dir}/${arch}/airootfs/root/install.txt -- cgit v1.2.3-70-g09d2