From 3cf8e738ed7c83c786b0a831f630cef6eca297df Mon Sep 17 00:00:00 2001
From: nl6720 <nl6720@gmail.com>
Date: Tue, 30 Jun 2020 13:09:02 +0300
Subject: [PATCH] Do not download a mirrorlist durring build

Pacman's mirrolist will be updated by reflector.service in the live system.
---
 configs/releng/build.sh | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/configs/releng/build.sh b/configs/releng/build.sh
index 192973ee..f85dc070 100755
--- a/configs/releng/build.sh
+++ b/configs/releng/build.sh
@@ -120,9 +120,6 @@ make_customize_airootfs() {
 
     cp "${script_path}/pacman.conf" "${work_dir}/x86_64/airootfs/etc"
 
-    curl -o "${work_dir}/x86_64/airootfs/etc/pacman.d/mirrorlist" \
-        'https://www.archlinux.org/mirrorlist/?country=all&protocol=http&use_mirror_status=on'
-
     lynx -dump -nolist 'https://wiki.archlinux.org/index.php/Installation_Guide?action=render' >> \
         "${work_dir}/x86_64/airootfs/root/install.txt"
 
-- 
GitLab