Fix tests: use default Arch mirrorlist, remove broken URL
This commit is contained in:
@@ -24,31 +24,7 @@ jobs:
|
|||||||
echo "═══════════════════════════════════════════════════════════════"
|
echo "═══════════════════════════════════════════════════════════════"
|
||||||
echo " Installing prerequisites"
|
echo " Installing prerequisites"
|
||||||
echo "═══════════════════════════════════════════════════════════════"
|
echo "═══════════════════════════════════════════════════════════════"
|
||||||
pacman -Syu --noconfirm --needed pacman pacman-contrib curl gnupg shellcheck yamllint
|
pacman -Syu --noconfirm --needed shellcheck yamllint
|
||||||
|
|
||||||
echo "═══════════════════════════════════════════════════════════════"
|
|
||||||
echo " Setting up official repos (extra, multilib)"
|
|
||||||
echo "═══════════════════════════════════════════════════════════════"
|
|
||||||
printf "%s\n" \
|
|
||||||
"[options]" \
|
|
||||||
"Architecture = auto" \
|
|
||||||
"SigLevel = Required DatabaseOptional" \
|
|
||||||
"LocalFileSigLevel = Optional" \
|
|
||||||
"" \
|
|
||||||
"[core]" \
|
|
||||||
"Include = /etc/pacman.d/mirrorlist" \
|
|
||||||
"" \
|
|
||||||
"[extra]" \
|
|
||||||
"Include = /etc/pacman.d/mirrorlist" \
|
|
||||||
"" \
|
|
||||||
"[multilib]" \
|
|
||||||
"Include = /etc/pacman.d/mirrorlist" \
|
|
||||||
> /etc/pacman.conf
|
|
||||||
|
|
||||||
curl -fsSL "https://archlinux.org/mirrorlist/all/status/" \
|
|
||||||
| sed "s/^#Server/Server/" | head -20 > /etc/pacman.d/mirrorlist
|
|
||||||
|
|
||||||
pacman -Syu --noconfirm
|
|
||||||
|
|
||||||
echo "═══════════════════════════════════════════════════════════════"
|
echo "═══════════════════════════════════════════════════════════════"
|
||||||
echo " Setting up CachyOS repo"
|
echo " Setting up CachyOS repo"
|
||||||
|
|||||||
Reference in New Issue
Block a user