Compare commits

...

17 Commits
a9 ... main

Author SHA1 Message Date
cc7ad40e7a Update to 580.105.08 2025-11-06 13:27:33 +00:00
eabdullin
c7bb4904ba Rebuild for new kernel 2025-11-06 15:27:29 +03:00
eabdullin
0cfa018431 Rebuild for new kernel 2025-10-22 15:59:46 +03:00
eabdullin
99dbcdf1b0 Update to 580.95.05 2025-10-02 10:57:42 +03:00
eabdullin
40021c6033 - Rebuild for new kernel 2025-10-02 10:44:46 +03:00
eabdullin
0baac4b7b8 Rebuild for new kernel 2025-09-08 10:15:25 +03:00
5cd41fa7d3 Update to 580.82.07 2025-09-03 08:58:33 -05:00
eabdullin
232f61945e Rebuild for new kernel 2025-09-03 12:01:56 +03:00
7a6791a141 Rebuild for new kernel 2025-08-24 10:23:57 +00:00
1dc22f7401 Drop metapackage and add more Provides for NVIDIA repository compatibility 2025-08-04 16:44:37 -04:00
b27e2a9dfa Update to 580.65.06
- Add nvidia-open metapackage for driver+userspace installation
2025-08-04 16:02:07 -04:00
88d534689c Add conditional to help prevent shipping unsigned (secure boot) packages
update to 575.64.03
2025-07-04 09:38:41 -05:00
634ee7c10b Merge pull request 'rebuild for packaging error' (#5) from jonathan/nvidia-open-kmod:a10s into a10s
Reviewed-on: rpms/nvidia-open-kmod#5
2025-07-03 15:39:16 +00:00
989de37ace rebuild for packaging error 2025-07-03 10:19:58 -05:00
aefc65909c update to 575.64 2025-06-27 14:45:53 -05:00
367cbd58b5 Replace "egrep" with "grep -E" in build macros 2025-05-30 08:19:05 -05:00
541c7f5731 Update BR envsubst for EL9 compatibility 2025-05-30 08:18:15 -05:00
4 changed files with 59 additions and 12 deletions

View File

@ -1,11 +1,13 @@
Conflicts: akmod-%{kmodname} Conflicts: akmod-%{kmodname}
Conflicts: dkms-%{kmodname} Conflicts: dkms-%{kmodname}
Conflicts: kmod-%{kmodname}-dkms
# Conflict with legacy driver # Conflict with legacy driver
Conflicts: dkms-nvidia Conflicts: dkms-nvidia
Conflicts: kmod-nvidia${dashvariant} Conflicts: kmod-nvidia${dashvariant}
# Declare ourselves as a provider of the nvidia kernel module # Declare ourselves as a provider of the nvidia kernel module
Conflicts: nvidia-kmod Conflicts: nvidia-kmod
Provides: nvidia-kmod = 3:%{version}-%{release} Provides: nvidia-kmod = 3:%{version}-%{release}
Provides: kmod-nvidia-open${dashvariant} = 3:%{version}-%{release}
# Require our parts of the stack # Require our parts of the stack
Requires: nvidia-open-kmod = %{version}-%{release} Requires: nvidia-open-kmod = %{version}-%{release}
# Install if negativo17 packaged userspace libraries are being installed # Install if negativo17 packaged userspace libraries are being installed

View File

@ -59,7 +59,7 @@ redhat_kmp_has_post_hooks 1
%global kmodtool %{-s*}%{!-s:/usr/lib/rpm/redhat/kmodtool} \ %global kmodtool %{-s*}%{!-s:/usr/lib/rpm/redhat/kmodtool} \
%global kmod_version %{-v*}%{!-v:%{version}} \ %global kmod_version %{-v*}%{!-v:%{version}} \
%global kmod_release %{-r*}%{!-r:%{release}} \ %global kmod_release %{-r*}%{!-r:%{release}} \
%global latest_kernel %({ rpm -q --qf '%%{VERSION}-%%{RELEASE}.%%{ARCH}\\\\n' `rpm -qa | egrep "^kernel(-64k|-rt|-aarch64)?-devel" | /usr/lib/rpm/redhat/rpmsort -r | head -n 1`; echo '%%%%{nil}'; } | head -n 1) \ %global latest_kernel %({ rpm -q --qf '%%{VERSION}-%%{RELEASE}.%%{ARCH}\\\\n' `rpm -qa | grep -E "^kernel(-64k|-rt|-aarch64)?-devel" | /usr/lib/rpm/redhat/rpmsort -r | head -n 1`; echo '%%%%{nil}'; } | head -n 1) \
%{!?kernel_version:%{expand:%%global kernel_version %{latest_kernel}}} \ %{!?kernel_version:%{expand:%%global kernel_version %{latest_kernel}}} \
%global kverrel %(%{kmodtool} verrel %{?kernel_version} 2>/dev/null) \ %global kverrel %(%{kmodtool} verrel %{?kernel_version} 2>/dev/null) \
flavors="default" \ flavors="default" \

View File

@ -21,7 +21,7 @@
Name: %{kmodname}-kmod Name: %{kmodname}-kmod
Version: 570.153.02 Version: 580.105.08
Release: 1%{?dist} Release: 1%{?dist}
Summary: Kernel module (kmod) for NVIDIA GPU hardware Summary: Kernel module (kmod) for NVIDIA GPU hardware
@ -46,12 +46,12 @@ BuildRequires: kernel-rpm-macros
# kmod dependencies # kmod dependencies
BuildRequires: %kernel_module_package_buildreqs BuildRequires: %kernel_module_package_buildreqs
%{?kernel_extra_flavor_devel_packages:BuildRequires: %kernel_extra_flavor_devel_packages} %{?kernel_extra_flavor_devel_packages:BuildRequires: %kernel_extra_flavor_devel_packages}
BuildRequires: gettext-envsubst BuildRequires: %{_bindir}/envsubst
BuildRequires: gcc BuildRequires: gcc
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: make BuildRequires: make
# Depend on negativo17 kmod support packaging # Depend on nvidia/negativo17 kmod support packaging
Requires: nvidia-kmod-common = 3:%{version} Requires: nvidia-kmod-common = 3:%{version}
# Only supported architectures for the driver # Only supported architectures for the driver
@ -67,16 +67,25 @@ This package contains the kernel modules for providing
hardware support for the NVIDIA Turing (GTX 16/RTX 20) hardware support for the NVIDIA Turing (GTX 16/RTX 20)
and newer models of GPU hardware. and newer models of GPU hardware.
%files
%license COPYING
%doc README.md
%prep %prep
%autosetup -n open-gpu-kernel-modules-%{version} -S git_am # let's make sure we don't publish unsigned builds, that would be bad
%if "%{modsign_os}" != "almalinux-nvidia-signing"
%{error:modsign_os macro not set to almalinux-nvidia-signing, exiting}
%endif
%autosetup -n open-gpu-kernel-modules-%{version} -S git_am
for flavor in %{flavors_to_build}; do for flavor in %{flavors_to_build}; do
cp -a ../open-gpu-kernel-modules-%{version} ../%{name}-%{version}-kmodbuild-$flavor cp -a ../open-gpu-kernel-modules-%{version} ../%{name}-%{version}-kmodbuild-$flavor
mv ../%{name}-%{version}-kmodbuild-$flavor . mv ../%{name}-%{version}-kmodbuild-$flavor .
done done
%build %build
# This module is useless # This module is useless
export NV_EXCLUDE_KERNEL_MODULES=nvidia-peermem export NV_EXCLUDE_KERNEL_MODULES=nvidia-peermem
@ -102,12 +111,48 @@ for flavor in %{flavors_to_build}; do
done done
%files
%license COPYING
%doc README.md
%changelog %changelog
* Thu Nov 06 2025 almalinux-bot-nvidia <almalinux-bot-nvidia@almalinux.org> - 580.105.08-1
- Update to 580.105.08
* Thu Nov 06 2025 Eduard Abdullin <eabdullin@almalinux.org> - 580.95.05-3
- Rebuild for new kernel
* Thu Oct 22 2025 Eduard Abdullin <eabdullin@almalinux.org> - 580.95.05-2
- Rebuild for new kernel
* Thu Oct 02 2025 Eduard Abdullin <eabdullin@almalinux.org> - 580.95.05-1
- Update to 580.95.05
* Thu Oct 02 2025 Eduard Abdullin <eabdullin@almalinux.org> - 580.82.07-3
- Rebuild for new kernel
* Wed Sep 03 2025 Jonathan Wright <jonathan@almalinux.org> - 580.82.07-1
- Update to 580.82.07
* Sun Aug 24 2025 Andrew Lukoshko <alukoshko@almalinux.org> - 580.65.06-3
- Rebuild for new kernel
* Mon Aug 04 2025 Neal Gompa <ngompa@almalinux.org> - 580.65.06-2
- Drop metapackage and add more Provides for NVIDIA repository compatibility
* Mon Aug 04 2025 Neal Gompa <ngompa@almalinux.org> - 580.65.06-1
- Update to 580.65.06
- Add nvidia-open metapackage for driver+userspace installation
* Fri Jul 04 2025 Jonathan Wright <jonathan@almalinux.org> - 575.64.03-1
- Add conditional to help prevent shipping unsigned (secure boot) packages
- update to 575.64.03
* Thu Jul 03 2025 Jonathan Wright <jonathan@almalinux.org> - 575.64-2
- rebuild for packaging error
* Fri Jun 27 2025 Jonathan Wright <jonathan@almalinux.org> - 575.64-1
- update to 575.64
* Fri May 30 2025 Jonathan Wright <jonathan@almalinux.org> - 570.153.02-2
- Update BR envsubst for EL9 compatibility
- Replace "egrep" with "grep -E" in build macros
* Mon May 26 2025 Neal Gompa <ngompa@almalinux.org> - 570.153.02-1 * Mon May 26 2025 Neal Gompa <ngompa@almalinux.org> - 570.153.02-1
- Initial package - Initial package

View File

@ -1 +1 @@
SHA512 (open-gpu-kernel-modules-570.153.02.tar.gz) = 719d46c5ffe10af872ea0ebbf03adb53cd7cbb2d2dfef883fa14a662941e6670a2b42c0131b2b942bf78052f4b43e52d8f6646e4b29d4f48707f76f449381847 SHA512 (open-gpu-kernel-modules-580.105.08.tar.gz) = 4b13f8262b589a35d88d9a4affd6b17d81d841a277a87f8708079db2aec3a03536a1ef1700696ab68f6398ccb2569d71a62d5208229f3a7ba0d487f19a34878f