diff options
author | Erich Eckner <git@eckner.net> | 2017-10-10 13:51:00 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-10-10 13:51:54 +0200 |
commit | 17db28d023223d82fb2909cfd88a402f4dbed561 (patch) | |
tree | e9508bff63d1b19149f09757439dc0bb92a6bfd1 /configs/releng | |
parent | b8954a4a823021a19a36158f0c64387780e1e8ea (diff) | |
download | archiso32-17db28d023223d82fb2909cfd88a402f4dbed561.tar.xz |
configs/releng/build.sh: install original mirrorlist for x86_64
Diffstat (limited to 'configs/releng')
-rwxr-xr-x | configs/releng/build.sh | 6 |
1 files changed, 5 insertions, 1 deletions
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 |