Fix tests: proper CachyOS key import via pacman-key instead of broken URL
This commit is contained in:
@@ -29,14 +29,19 @@ jobs:
|
||||
echo "═══════════════════════════════════════════════════════════════"
|
||||
echo " Setting up CachyOS repo"
|
||||
echo "═══════════════════════════════════════════════════════════════"
|
||||
curl -fsSL https://mirror.cachyos.org/cachyos-keyring.pkg.tar.zst \
|
||||
-o /tmp/cachyos-keyring.pkg.tar.zst
|
||||
pacman -U --noconfirm /tmp/cachyos-keyring.pkg.tar.zst || true
|
||||
pacman-key --init
|
||||
pacman-key --populate archlinux
|
||||
|
||||
# Import CachyOS signing key
|
||||
pacman-key --recv-key F3B607488DB35A47 --keyserver keyserver.ubuntu.com
|
||||
pacman-key --lsign-key F3B607488DB35A47
|
||||
|
||||
# Add CachyOS mirrorlist
|
||||
printf "%s\n" \
|
||||
"Server = https://mirror.cachyos.org/\$repo/\$arch" \
|
||||
> /etc/pacman.d/cachyos-mirrorlist
|
||||
|
||||
# Add CachyOS repo to pacman.conf
|
||||
printf "\n[cachyos]\nSigLevel = Optional TrustAll\nInclude = /etc/pacman.d/cachyos-mirrorlist\n" \
|
||||
>> /etc/pacman.conf
|
||||
|
||||
@@ -46,7 +51,7 @@ jobs:
|
||||
echo " Setting up chaotic-aur repo"
|
||||
echo "═══════════════════════════════════════════════════════════════"
|
||||
pacman-key --recv-key FBA220DFC880C036 --keyserver keyserver.ubuntu.com
|
||||
pacman-key --lsign-key FBA220DFC880C036 || true
|
||||
pacman-key --lsign-key FBA220DFC880C036
|
||||
|
||||
printf "%s\n" \
|
||||
"Server = https://chaotic.archlinux.org/\$repo/\$arch" \
|
||||
|
||||
Reference in New Issue
Block a user