build-image/installation-scripts/00-pacman-mirror.sh
Markus Pesch 57d2cc6440
Some checks failed
continuous-integration/drone/push Build is failing
fix: remove docker-pushrm
2021-09-01 17:28:25 +02:00

29 lines
561 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
[any]
SigLevel = Optional TrustAll
Server = https://aur.cryptic.systems/any/
[x86_64]
SigLevel = Optional TrustAll
Server = https://aur.cryptic.systems/x86_64/
[oracle]
SigLevel = Optional TrustAll
Server = http://linux.shikadi.net/arch/oracle/x86_64/
EOF