renamed my COPR repo
This commit is contained in:
parent
4bfc7fb9d3
commit
db67b9cb3a
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user