add my testing elrepo copr

This commit is contained in:
Pratham Patel 2023-10-22 21:48:45 +05:30
parent 15709fe5d7
commit b6b7309ffe
No known key found for this signature in database
3 changed files with 10 additions and 0 deletions

View File

@ -47,6 +47,13 @@ if dnf list installed | grep '@COPR-kernel-testing-tfg' > /dev/null; then
fi fi
fi fi
if dnf list installed | grep '@COPR-elrepo-kernel' > /dev/null; then
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
fi
fi
# 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
dnf upgrade -y dnf upgrade -y

View File

@ -0,0 +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

View File

@ -1,3 +1,4 @@
%include elrepo-tfg.ksi
%include epel.ksi %include epel.ksi
%include kernel-tfg.ksi %include kernel-tfg.ksi
%include rocky.ksi %include rocky.ksi