mirror of
https://github.com/t2linux/archiso-t2.git
synced 2026-08-16 05:18:03 -07:00
use reflector to find fastest mirror
This commit is contained in:
@@ -14,7 +14,9 @@ jobs:
|
||||
cd /build
|
||||
useradd builduser -m
|
||||
passwd -d builduser
|
||||
pacman -Syu --noconfirm --needed sudo git base-devel
|
||||
pacman -Syu --noconfirm --needed reflector
|
||||
reflector -f 5 --sort rate -p https --save /etc/pacman.d/mirrorlist
|
||||
pacman -S --noconfirm --needed sudo git base-devel
|
||||
printf 'builduser ALL=(ALL) ALL\\n' | tee -a /etc/sudoers
|
||||
chown -R builduser:builduser ./
|
||||
sudo -u builduser bash -c './prepare.sh'
|
||||
|
||||
@@ -39,6 +39,7 @@ Server = https://github.com/Redecorating/archlinux-t2-packages/releases/download
|
||||
Server = https://mirror.funami.tech/arch-mact2/os/x86_64
|
||||
SigLevel = Optional TrustAll
|
||||
EOF
|
||||
sudo reflector -f 5 --sort rate -p https --save /etc/pacman.d/mirrorlist
|
||||
sudo pacman-key --init
|
||||
yes | sudo pacman-key --recv-keys DEB7F121BAAA6F4E --keyserver pgp.mit.edu
|
||||
yes | sudo pacman-key --lsign-key DEB7F121BAAA6F4E
|
||||
|
||||
Reference in New Issue
Block a user