From e9e84b7d210df8197644a785606a3ead4696c49f Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Thu, 22 Dec 2022 16:31:24 +0100 Subject: [PATCH] fix: import own certificate --- entrypoint.sh | 1 - installation-scripts/00-pacman-mirror.sh | 107 +++++++++++++++++++++-- 2 files changed, 99 insertions(+), 9 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index bce38eb..34ec92c 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -12,7 +12,6 @@ done # import gpg key if [ ! -z ${GPG_KEY+x} ]; then - echo -e ${GPG_KEY} | gpg --import # trust gpg key diff --git a/installation-scripts/00-pacman-mirror.sh b/installation-scripts/00-pacman-mirror.sh index c6bb2e9..5e17c13 100755 --- a/installation-scripts/00-pacman-mirror.sh +++ b/installation-scripts/00-pacman-mirror.sh @@ -2,21 +2,112 @@ set -e -cat > /etc/pacman.d/gnupg/dirmngr.conf <> /etc/pacman.conf <> /etc/pacman.conf <<'EOF' [volker.raschek] SigLevel = Optional TrustAll -Server = https://aur.cryptic.systems/volker.raschek/x86_64/ +Server = https://aur.cryptic.systems/$repo/$arch/ [oracle] SigLevel = Optional TrustAll