Add a generate mirrorlist section, to always find the fastest/closest mirror to you

Signed-off-by: Dan Johansen <strit@manjaro.org>
This commit is contained in:
Dan Johansen 2020-02-13 20:43:40 +01:00
parent 9a7f5fbe55
commit 721929c2a7
No known key found for this signature in database
GPG Key ID: 084A7FC0035B1D49
1 changed files with 3 additions and 0 deletions

View File

@ -126,6 +126,9 @@ create_install() {
$NSPAWN $TMPDIR/root pacman-key --init 1> /dev/null 2>&1
$NSPAWN $TMPDIR/root pacman-key --populate archlinux archlinuxarm manjaro manjaro-arm 1> /dev/null 2>&1
info "Generating mirrorlist..."
$NSPAWN $TMPDIR/root pacman-mirrors -g 1> /dev/null 2>&1
info "Installing packages for $EDITION on $DEVICE..."
# Setup cache mount
mkdir -p $TMPDIR/pkg-cache