From 7c0418f9d6fd15cfa5a8c4bf424ee10283eb079a Mon Sep 17 00:00:00 2001 From: Pratham Patel Date: Mon, 20 Nov 2023 18:10:58 +0530 Subject: [PATCH] import key for the tfg kernel repos too --- includes/post/rpm-repos-enable.ksi | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/includes/post/rpm-repos-enable.ksi b/includes/post/rpm-repos-enable.ksi index 9ecc439..817287f 100644 --- a/includes/post/rpm-repos-enable.ksi +++ b/includes/post/rpm-repos-enable.ksi @@ -37,11 +37,6 @@ if ! dnf repolist --enabled | grep 'copr:copr.fedorainfracloud.org:prathampatel: fi echo 'metadata_expire=1200' | tee -a '/etc/yum.repos.d/_copr:copr.fedorainfracloud.org:prathampatel:kernel-tfg.repo' -# manually import the GPG key for my COPR -wget 'https://download.copr.fedorainfracloud.org/results/prathampatel/kernel-elrepo/pubkey.gpg' -rpm --import pubkey.gpg -rm pubkey.gpg - # this has kernels with elrepo + sbc enablement dnf copr enable --assumeyes prathampatel/kernel-elrepo "rhel-${DNF_RELEASEVER}-${MACHINE_ARCH}" if ! dnf repolist --enabled | grep 'copr:copr.fedorainfracloud.org:prathampatel:kernel-elrepo' > /dev/null; then @@ -49,6 +44,12 @@ if ! dnf repolist --enabled | grep 'copr:copr.fedorainfracloud.org:prathampatel: fi echo 'metadata_expire=2400' | tee -a '/etc/yum.repos.d/_copr:copr.fedorainfracloud.org:prathampatel:kernel-elrepo.repo' +# manually import the GPG keys for my COPRs +wget 'https://download.copr.fedorainfracloud.org/results/prathampatel/kernel-tfg/pubkey.gpg' -O kernel-tfg-pubkey.gpg +wget 'https://download.copr.fedorainfracloud.org/results/prathampatel/kernel-elrepo/pubkey.gpg' -O kernel-elrepo-pubkey.gpg +rpm --import kernel-{tfg,elrepo}-pubkey.gpg +rm -vf kernel-{tfg,elrepo}-pubkey.gpg + # upgrade all packages for the user's happy smile dnf clean expire-cache dnf upgrade -y