build-image/installation-scripts/00-pacman-mirror.sh
Markus Pesch 799fc1291b
All checks were successful
continuous-integration/drone/push Build is passing
fix: repo server
2022-03-16 19:57:16 +01:00

25 lines
506 B
Bash
Executable File

#!/bin/bash
set -e
cat > /etc/pacman.d/gnupg/dirmngr.conf <<EOF
keyserver hkps://hkps.pool.sks-keyservers.net:443
keyserver hkp://pool.sks-keyservers.net:80
EOF
# Initialize pacman-key ring
pacman-key --init
# pacman-key --refresh-keys
# Add additional pacman mirrors
cat >> /etc/pacman.conf <<EOF
[volker.raschek]
SigLevel = Optional TrustAll
Server = https://aur.cryptic.systems/volker.raschek/x86_64/
[oracle]
SigLevel = Optional TrustAll
Server = http://linux.shikadi.net/arch/oracle/x86_64/
EOF