From 65db1a09769e745310a1b913a7eccebf5cb5e1e2 Mon Sep 17 00:00:00 2001 From: Pratham Patel Date: Mon, 9 Oct 2023 05:17:30 +0530 Subject: [PATCH] add support for the Orange Pi 5 --- includes/package-list.ksi | 2 ++ includes/post/rpm-repos-enable.ksi | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/package-list.ksi b/includes/package-list.ksi index b710115..c9c47b8 100644 --- a/includes/package-list.ksi +++ b/includes/package-list.ksi @@ -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 diff --git a/includes/post/rpm-repos-enable.ksi b/includes/post/rpm-repos-enable.ksi index af10380..4ada692 100644 --- a/includes/post/rpm-repos-enable.ksi +++ b/includes/post/rpm-repos-enable.ksi @@ -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.