build-image/installation-scripts/00-pacman-mirror.sh

25 lines
496 B
Bash
Raw Normal View History

2020-06-01 15:01:46 +00:00
#!/bin/bash
2021-09-01 06:57:34 +00:00
set -e
2020-08-02 12:06:07 +00:00
cat > /etc/pacman.d/gnupg/dirmngr.conf <<EOF
keyserver hkps://hkps.pool.sks-keyservers.net:443
keyserver hkp://pool.sks-keyservers.net:80
EOF
2020-06-01 15:01:46 +00:00
# Initialize pacman-key ring
pacman-key --init
2021-09-01 06:57:34 +00:00
# pacman-key --refresh-keys
2020-06-01 15:01:46 +00:00
# Add additional pacman mirrors
2020-10-11 16:45:40 +00:00
cat >> /etc/pacman.conf <<EOF
2020-06-01 15:01:46 +00:00
2022-03-16 18:28:34 +00:00
[volker.raschek]
2021-09-01 06:57:34 +00:00
SigLevel = Optional TrustAll
2022-03-16 18:28:34 +00:00
Server = https://aur.cryptic.systems/$repo/$arch/
2020-12-23 17:47:42 +00:00
[oracle]
SigLevel = Optional TrustAll
Server = http://linux.shikadi.net/arch/oracle/x86_64/
2020-06-01 15:01:46 +00:00
EOF