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

29 lines
561 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
2020-10-11 16:45:40 +00:00
[any]
2021-09-01 06:57:34 +00:00
SigLevel = Optional TrustAll
2020-08-01 17:18:56 +00:00
Server = https://aur.cryptic.systems/any/
2020-06-01 15:01:46 +00:00
2020-10-11 16:45:40 +00:00
[x86_64]
2021-09-01 06:57:34 +00:00
SigLevel = Optional TrustAll
2020-08-01 17:18:56 +00:00
Server = https://aur.cryptic.systems/x86_64/
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