From db67b9cb3a51007bd02ac1ff8c922aab941bc98a Mon Sep 17 00:00:00 2001 From: Pratham Patel Date: Mon, 13 Nov 2023 13:33:48 +0530 Subject: [PATCH] renamed my COPR repo --- includes/post/rpm-repos-enable.ksi | 8 ++++---- includes/repos/elrepo-tfg.ksi | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/includes/post/rpm-repos-enable.ksi b/includes/post/rpm-repos-enable.ksi index c883da3..a21664f 100644 --- a/includes/post/rpm-repos-enable.ksi +++ b/includes/post/rpm-repos-enable.ksi @@ -41,11 +41,11 @@ fi echo 'metadata_expire=1200' | tee -a '/etc/yum.repos.d/_copr:copr.fedorainfracloud.org:prathampatel:kernel-tfg.repo' # this has kernels with elrepo + sbc enablement -dnf copr enable --assumeyes prathampatel/elrepo-kernel "rhel-${DNF_RELEASEVER}-${MACHINE_ARCH}" -if ! dnf repolist --enabled | grep 'copr:copr.fedorainfracloud.org:prathampatel:elrepo-kernel' > /dev/null; then - dnf config-manager --set-enabled 'copr:copr.fedorainfracloud.org:prathampatel:elrepo-kernel' || exit 1 +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 + dnf config-manager --set-enabled 'copr:copr.fedorainfracloud.org:prathampatel:kernel-elrepo' || exit 1 fi -echo 'metadata_expire=2400' | tee -a '/etc/yum.repos.d/_copr:copr.fedorainfracloud.org:prathampatel:elrepo-kernel.repo' +echo 'metadata_expire=2400' | tee -a '/etc/yum.repos.d/_copr:copr.fedorainfracloud.org:prathampatel:kernel-elrepo.repo' # upgrade all packages for the user's happy smile dnf clean expire-cache diff --git a/includes/repos/elrepo-tfg.ksi b/includes/repos/elrepo-tfg.ksi index f1951d2..86df7ff 100644 --- a/includes/repos/elrepo-tfg.ksi +++ b/includes/repos/elrepo-tfg.ksi @@ -1,2 +1,2 @@ # Enable Pratham Patel's COPR that provides the Linux kernel -repo --install --name=COPR-elrepo-tfg --baseurl=https://download.copr.fedorainfracloud.org/results/prathampatel/elrepo-kernel/rhel-$releasever-$basearch +repo --install --name=COPR-elrepo-tfg --baseurl=https://download.copr.fedorainfracloud.org/results/prathampatel/kernel-elrepo/rhel-$releasever-$basearch