add support for the Orange Pi 5

This commit is contained in:
Pratham Patel 2023-10-09 05:17:30 +05:30
parent 0cb69c5a50
commit 65db1a0976
No known key found for this signature in database
2 changed files with 3 additions and 1 deletions

View File

@ -14,6 +14,8 @@ kernel-stable-tfg
#kernel-lts-tfg
#kernel-rc-tfg
#kernel-next-tfg
# For the Orange Pi 5 (will pull the kernel as a dependency, don't touch this)
#opi5-efi
# Other necessary packages
cloud-utils-growpart

View File

@ -41,7 +41,7 @@ if ! dnf repolist --enabled | grep 'copr:copr.fedorainfracloud.org:prathampatel:
dnf config-manager --set-enabled 'copr:copr.fedorainfracloud.org:prathampatel:kernel-tfg' || exit 1
fi
if dnf list installed | grep "kernel-next-tfg\|kernel-rc-tfg" > /dev/null; then
if dnf list installed | grep "kernel-next-tfg\|kernel-rc-tfg\|kernel-opi5-tfg" > /dev/null; then
# The user has installed a package that provides either kernel-next or
# kernel-rc which comes from the the 'prathampatel/kernel-testing-tfg'
# COPR repository. Since that is used, enable it so updates reach the user.