From 5e03807a131460df1b3112fd050b509e130a05e0 Mon Sep 17 00:00:00 2001 From: Pratham Patel Date: Tue, 10 Oct 2023 13:17:26 +0530 Subject: [PATCH] add GPG key for the altarch-common repo --- includes/post/rpm-repos-enable.ksi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/includes/post/rpm-repos-enable.ksi b/includes/post/rpm-repos-enable.ksi index 0e25f4e..8efdc39 100644 --- a/includes/post/rpm-repos-enable.ksi +++ b/includes/post/rpm-repos-enable.ksi @@ -5,7 +5,10 @@ MACHINE_ARCH="$(uname -m)" DNF_RELEASEVER="$(dnf config-manager --dump-variables | grep 'releasever' | awk '{print $3}')" # import the key manually, since it does not get automatically get imported... +wget "https://download.rockylinux.org/pub/sig/${DNF_RELEASEVER}/altarch/${MACHINE_ARCH}/altarch-common/RPM-GPG-KEY-Rocky-SIG-AltArch" rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9 +rpm --import RPM-GPG-KEY-Rocky-SIG-AltArch +rm RPM-GPG-KEY-Rocky-SIG-AltArch # Setup networking temporarily [ -f /etc/resolv.conf ] || echo "nameserver 1.1.1.1" > /etc/resolv.conf