only one kernel (kernel-mainline-sbc) and one COPR)
This commit is contained in:
parent
ba17f2c31c
commit
b6204e053f
@ -8,16 +8,7 @@ rocky-release
|
|||||||
@standard
|
@standard
|
||||||
|
|
||||||
# Kernel selection
|
# Kernel selection
|
||||||
# (coprs/prathampatel/kernel-tfg/packages) "testing" kernels with defaults
|
kernel-mainline-sbc
|
||||||
#kernel-lts-tfg
|
|
||||||
#kernel-stable-tfg
|
|
||||||
#kernel-rc-tfg
|
|
||||||
#kernel-next-tfg
|
|
||||||
# (coprs/prathampatel/kernel-elrepo) "prod" kernels
|
|
||||||
#kernel-lts
|
|
||||||
kernel-stable
|
|
||||||
#kernel-mainline
|
|
||||||
#kernel-next
|
|
||||||
|
|
||||||
# Other necessary packages
|
# Other necessary packages
|
||||||
cloud-utils-growpart
|
cloud-utils-growpart
|
||||||
|
@ -30,25 +30,17 @@ if dnf list installed | grep '@epel' > /dev/null || dnf list installed | grep 'e
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# this has kernels with defconfigs
|
# SIG/kernel's kernel-mainline-sbc
|
||||||
dnf copr enable --assumeyes prathampatel/kernel-tfg "rhel-${DNF_RELEASEVER}-${MACHINE_ARCH}"
|
dnf copr enable --assumeyes prathampatel/kernel-rocky "rhel-${DNF_RELEASEVER}-${MACHINE_ARCH}"
|
||||||
if ! dnf repolist --enabled | grep 'copr:copr.fedorainfracloud.org:prathampatel:kernel-tfg' > /dev/null; then
|
if ! dnf repolist --enabled | grep 'copr:copr.fedorainfracloud.org:prathampatel:kernel-rocky' > /dev/null; then
|
||||||
dnf config-manager --set-enabled 'copr:copr.fedorainfracloud.org:prathampatel:kernel-tfg' || exit 1
|
dnf config-manager --set-enabled 'copr:copr.fedorainfracloud.org:prathampatel:kernel-rocky' || exit 1
|
||||||
fi
|
fi
|
||||||
echo 'metadata_expire=1200' | tee -a '/etc/yum.repos.d/_copr:copr.fedorainfracloud.org:prathampatel:kernel-tfg.repo'
|
echo 'metadata_expire=2400' | tee -a '/etc/yum.repos.d/_copr:copr.fedorainfracloud.org:prathampatel:kernel-rocky.repo'
|
||||||
|
|
||||||
# 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
|
|
||||||
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:kernel-elrepo.repo'
|
|
||||||
|
|
||||||
# manually import the GPG keys for my COPRs
|
# 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-rocky/pubkey.gpg' -O kernel-rocky-pubkey.gpg
|
||||||
wget 'https://download.copr.fedorainfracloud.org/results/prathampatel/kernel-elrepo/pubkey.gpg' -O kernel-elrepo-pubkey.gpg
|
rpm --import kernel-elrepo-pubkey.gpg
|
||||||
rpm --import kernel-{tfg,elrepo}-pubkey.gpg
|
rm -vf kernel-elrepo-pubkey.gpg
|
||||||
rm -vf kernel-{tfg,elrepo}-pubkey.gpg
|
|
||||||
|
|
||||||
dnf clean expire-cache
|
dnf clean expire-cache
|
||||||
|
|
||||||
|
@ -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/kernel-elrepo/rhel-$releasever-$basearch
|
repo --install --name=COPR-kernel-tfg --baseurl=https://download.copr.fedorainfracloud.org/results/prathampatel/kernel-rocky/rhel-$releasever-$basearch
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
%include elrepo-tfg.ksi
|
%include elrepo-tfg.ksi
|
||||||
%include epel.ksi
|
%include epel.ksi
|
||||||
%include kernel-tfg.ksi
|
|
||||||
%include rocky.ksi
|
%include rocky.ksi
|
||||||
|
Loading…
Reference in New Issue
Block a user