renamed my COPR repo

This commit is contained in:
Pratham Patel 2023-11-13 13:33:48 +05:30
parent 4bfc7fb9d3
commit db67b9cb3a
No known key found for this signature in database
2 changed files with 5 additions and 5 deletions

View File

@ -41,11 +41,11 @@ fi
echo 'metadata_expire=1200' | tee -a '/etc/yum.repos.d/_copr:copr.fedorainfracloud.org:prathampatel:kernel-tfg.repo' 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 # this has kernels with elrepo + sbc enablement
dnf copr enable --assumeyes prathampatel/elrepo-kernel "rhel-${DNF_RELEASEVER}-${MACHINE_ARCH}" dnf copr enable --assumeyes prathampatel/kernel-elrepo "rhel-${DNF_RELEASEVER}-${MACHINE_ARCH}"
if ! dnf repolist --enabled | grep 'copr:copr.fedorainfracloud.org:prathampatel:elrepo-kernel' > /dev/null; then 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:elrepo-kernel' || exit 1 dnf config-manager --set-enabled 'copr:copr.fedorainfracloud.org:prathampatel:kernel-elrepo' || exit 1
fi 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 # upgrade all packages for the user's happy smile
dnf clean expire-cache dnf clean expire-cache

View File

@ -1,2 +1,2 @@
# Enable Pratham Patel's COPR that provides the Linux kernel # 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