commit ca80e0645dbe8f5b07486dba9e63b3304465fa19 Author: Jonathan Wright Date: Mon May 26 10:39:57 2025 -0500 initial commit diff --git a/almalinux-nvidia.repo b/almalinux-nvidia.repo new file mode 100644 index 0000000..02d22cc --- /dev/null +++ b/almalinux-nvidia.repo @@ -0,0 +1,31 @@ +# NVIDIA driver repo for AlmaLinux + +[almalinux-nvidia] +name=AlmaLinux Kitten $releasever - NVIDIA Driver +mirrorlist=https://kitten.mirrors.almalinux.org/mirrorlist/$releasever-kitten/nvidia +# baseurl=https://kitten.repo.almalinux.org/$releasever-kitten/nvidia/$basearch/os/ +gpgcheck=1 +enabled=1 +countme=1 +gpgkey=https://repo.almalinux.org/almalinux/RPM-GPG-KEY-AlmaLinux +metadata_expire=6h + +## Sources +[almalinux-nvidia] +name=AlmaLinux Kitten $releasever - NVIDIA Driver Source +mirrorlist=https://kitten.mirrors.almalinux.org/mirrorlist/$releasever-kitten/nvidia-source +# baseurl=https://kitten.vault.almalinux.org/$releasever-kitten/nvidia/Source/ +gpgcheck=1 +enabled=0 +gpgkey=https://repo.almalinux.org/almalinux/RPM-GPG-KEY-AlmaLinux +metadata_expire=6h + +## Debug +[almalinux-nvidia-debuginfo] +name=AlmaLinux Kitten $releasever - NVIDIA Driver debuginfo +mirrorlist=https://kitten.mirrors.almalinux.org/mirrorlist/$releasever-kitten/nvidia-debuginfo +# baseurl=https://kitten.vault.almalinux.org/$releasever-kitten/nvidia/debug/$basearch/ +gpgcheck=1 +enabled=0 +gpgkey=https://repo.almalinux.org/almalinux/RPM-GPG-KEY-AlmaLinux +metadata_expire=6h diff --git a/almalinux-release-nvidia-driver.spec b/almalinux-release-nvidia-driver.spec new file mode 100644 index 0000000..2625432 --- /dev/null +++ b/almalinux-release-nvidia-driver.spec @@ -0,0 +1,39 @@ +Name: almalinux-release-nvidia-driver +Summary: AlmaLinux NVIDIA driver repository configuration +Version: 10 +Release: 1%{?dist} +License: GPL-2.0-only +URL: https://almalinux.org/ +BuildArch: noarch +Source: almalinux-nvidia.repo +Source: negativo-nvidia.repo + +Requires: epel-release +Requires(post): epel-release +Provides: almalinux-release-nvidia-driver = %{version} +Conflicts: epel-nvidia + + +%description +DNF configuration for AlmaLinux NVIDIA driver repository + + +%install +install -D -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/yum.repos.d/almalinux-nvidia.repo +install -D -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/yum.repos.d/negativo-nvidia.repo + + +%post +if [ -x /usr/bin/crb ]; then + /usr/bin/crb enable +fi + + +%files +%config(noreplace) %{_sysconfdir}/yum.repos.d/almalinux-nvidia.repo +%{_sysconfdir}/yum.repos.d/negativo-nvidia.repo + + +%changelog +* Mon May 26 2025 Jonathan Wright - 10-1 +- Initial release diff --git a/negativo-nvidia.repo b/negativo-nvidia.repo new file mode 100644 index 0000000..cde09ff --- /dev/null +++ b/negativo-nvidia.repo @@ -0,0 +1,41 @@ +# This repository is for NVIDIA user space and CUDA components which cannot be redistributed due to licensing restrictions. +# This repo's content represents what will become the official NVIDIA repository for these components. +# We will swap this to the official NVIDIA repository when it becomes available on the NVIDIA domain. +# Do not modify this file, it will be overwritten/replaced on updates. + +[negativo-nvidia] +name=AlmaLinux Kitten $releasever - negativo17 - NVIDIA +baseurl=https://negativo17.org/repos/nvidia/epel-$releasever/$basearch/ +enabled=1 +skip_if_unavailable=1 +gpgcheck=1 +gpgkey=https://negativo17.org/repos/RPM-GPG-KEY-slaanesh +enabled_metadata=1 +metadata_expire=6h +type=rpm-md +repo_gpgcheck=0 +exclude=akmod-nvidia dkms-nvidia nvidia-driver nvidia-driver-libs nvidia-settings + +[negativo-nvidia-source] +name=AlmaLinux Kitten $releasever - negativo17 - NVIDIA - Source +baseurl=https://negativo17.org/repos/nvidia/epel-$releasever/SRPMS +enabled=0 +skip_if_unavailable=1 +gpgcheck=1 +gpgkey=https://negativo17.org/repos/RPM-GPG-KEY-slaanesh +enabled_metadata=1 +metadata_expire=6h +type=rpm-md +repo_gpgcheck=0 + +[negativo-nvidia-debug] +name=AlmaLinux Kitten $releasever - negativo17 - NVIDIA - Debug +baseurl=https://negativo17.org/repos/nvidia/epel-$releasever/$basearch.debug/ +enabled=0 +skip_if_unavailable=1 +gpgcheck=1 +gpgkey=https://negativo17.org/repos/RPM-GPG-KEY-slaanesh +enabled_metadata=1 +metadata_expire=6h +type=rpm-md +repo_gpgcheck=0