From 88d534689c308d63196ce5e934ddb490646b1fc1 Mon Sep 17 00:00:00 2001 From: Jonathan Wright Date: Fri, 4 Jul 2025 08:57:11 -0500 Subject: [PATCH 1/6] Add conditional to help prevent shipping unsigned (secure boot) packages update to 575.64.03 --- nvidia-open-kmod.spec | 14 +++++++++++--- sources | 2 +- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/nvidia-open-kmod.spec b/nvidia-open-kmod.spec index dc1bf42..4de873e 100644 --- a/nvidia-open-kmod.spec +++ b/nvidia-open-kmod.spec @@ -21,8 +21,8 @@ Name: %{kmodname}-kmod -Version: 575.64 -Release: 2%{?dist} +Version: 575.64.03 +Release: 1%{?dist} Summary: Kernel module (kmod) for NVIDIA GPU hardware License: GPL-2.0-only and MIT @@ -69,8 +69,12 @@ and newer models of GPU hardware. %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 cp -a ../open-gpu-kernel-modules-%{version} ../%{name}-%{version}-kmodbuild-$flavor @@ -108,6 +112,10 @@ done %changelog +* Fri Jul 04 2025 Jonathan Wright - 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 - 575.64-2 - rebuild for packaging error diff --git a/sources b/sources index ca166e6..49f1cdd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (open-gpu-kernel-modules-575.64.tar.gz) = 73f73f2e2d9120e4d34479385751423a87874a621231a9edf4b300cd2064f172777c16d8bfb1755907cdd4138152650b486dfd3d6a34c95e6daeae8d9817cb83 +SHA512 (open-gpu-kernel-modules-575.64.03.tar.gz) = 43651b3f2f646c2f3b395c2790025d1f39765e8dfe6ccf2c3d4e8a7a8f75827f50b7ef45d05c890c24f7e032a0aaf02583943b3c62191fcdb34d424abb3610c2 -- 2.47.3 From b27e2a9dfa3a471400140c98d68696563f212295 Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Mon, 4 Aug 2025 16:02:07 -0400 Subject: [PATCH 2/6] Update to 580.65.06 - Add nvidia-open metapackage for driver+userspace installation --- kmod-nvidia-open.spec.preamble | 1 + nvidia-open-kmod.spec | 39 ++++++++++++++++++++++++++++------ sources | 2 +- 3 files changed, 34 insertions(+), 8 deletions(-) diff --git a/kmod-nvidia-open.spec.preamble b/kmod-nvidia-open.spec.preamble index 8af9c2c..557d97d 100644 --- a/kmod-nvidia-open.spec.preamble +++ b/kmod-nvidia-open.spec.preamble @@ -1,5 +1,6 @@ Conflicts: akmod-%{kmodname} Conflicts: dkms-%{kmodname} +Conflicts: kmod-%{kmodname}-dkms # Conflict with legacy driver Conflicts: dkms-nvidia Conflicts: kmod-nvidia${dashvariant} diff --git a/nvidia-open-kmod.spec b/nvidia-open-kmod.spec index 4de873e..f418cea 100644 --- a/nvidia-open-kmod.spec +++ b/nvidia-open-kmod.spec @@ -21,7 +21,7 @@ Name: %{kmodname}-kmod -Version: 575.64.03 +Version: 580.65.06 Release: 1%{?dist} Summary: Kernel module (kmod) for NVIDIA GPU hardware @@ -51,7 +51,7 @@ BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: make -# Depend on negativo17 kmod support packaging +# Depend on nvidia/negativo17 kmod support packaging Requires: nvidia-kmod-common = 3:%{version} # Only supported architectures for the driver @@ -67,6 +67,32 @@ This package contains the kernel modules for providing hardware support for the NVIDIA Turing (GTX 16/RTX 20) and newer models of GPU hardware. +%files +%license COPYING +%doc README.md + +%dnl ---------------------------------------------------------------- + +%package -n %{kmodname} +Summary: NVIDIA Driver metapackage +Provides: %{kmodname} = 3:%{version}-%{release} +Requires: %{kmodname}-kmod = %{version}-%{release} +Requires: libnvidia-fbc = 3:%{version} +Requires: libnvidia-ml = 3:%{version} +Requires: nvidia-driver = 3:%{version} +Requires: nvidia-driver-cuda = 3:%{version} +Requires: nvidia-libXNVCtrl = 3:%{version} +BuildArch: noarch + +%description -n %{kmodname} +NVIDIA Driver meta-package, Open GPU kernel modules, latest version +Meta-package requesting all necessary packages related to the NVIDIA driver. + +%files -n %{kmodname} +# empty for metapackage + +%dnl ---------------------------------------------------------------- + %prep # let's make sure we don't publish unsigned builds, that would be bad @@ -106,12 +132,11 @@ for flavor in %{flavors_to_build}; do done -%files -%license COPYING -%doc README.md - - %changelog +* Mon Aug 04 2025 Neal Gompa - 580.65.06-1 +- Update to 580.65.06 +- Add nvidia-open metapackage for driver+userspace installation + * Fri Jul 04 2025 Jonathan Wright - 575.64.03-1 - Add conditional to help prevent shipping unsigned (secure boot) packages - update to 575.64.03 diff --git a/sources b/sources index 49f1cdd..50a2981 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (open-gpu-kernel-modules-575.64.03.tar.gz) = 43651b3f2f646c2f3b395c2790025d1f39765e8dfe6ccf2c3d4e8a7a8f75827f50b7ef45d05c890c24f7e032a0aaf02583943b3c62191fcdb34d424abb3610c2 +SHA512 (open-gpu-kernel-modules-580.65.06.tar.gz) = b1cdc014b871b174897d6f5df5994c152cc088f3a71acf1e2dfce5fa173369213406d1ff9e4289df23f7e946eabdcdbaa84d8c4644a3e113fe4f329f991724f8 -- 2.47.3 From 1dc22f7401393f4a86925e75ce37a932ab3c04a7 Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Mon, 4 Aug 2025 16:44:37 -0400 Subject: [PATCH 3/6] Drop metapackage and add more Provides for NVIDIA repository compatibility --- kmod-nvidia-open.spec.preamble | 1 + nvidia-open-kmod.spec | 28 +++++----------------------- 2 files changed, 6 insertions(+), 23 deletions(-) diff --git a/kmod-nvidia-open.spec.preamble b/kmod-nvidia-open.spec.preamble index 557d97d..898b43a 100644 --- a/kmod-nvidia-open.spec.preamble +++ b/kmod-nvidia-open.spec.preamble @@ -7,6 +7,7 @@ Conflicts: kmod-nvidia${dashvariant} # Declare ourselves as a provider of the nvidia kernel module Conflicts: nvidia-kmod Provides: nvidia-kmod = 3:%{version}-%{release} +Provides: kmod-nvidia-open${dashvariant} = 3:%{version}-%{release} # Require our parts of the stack Requires: nvidia-open-kmod = %{version}-%{release} # Install if negativo17 packaged userspace libraries are being installed diff --git a/nvidia-open-kmod.spec b/nvidia-open-kmod.spec index f418cea..933bf22 100644 --- a/nvidia-open-kmod.spec +++ b/nvidia-open-kmod.spec @@ -22,7 +22,7 @@ Name: %{kmodname}-kmod Version: 580.65.06 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Kernel module (kmod) for NVIDIA GPU hardware License: GPL-2.0-only and MIT @@ -71,28 +71,6 @@ and newer models of GPU hardware. %license COPYING %doc README.md -%dnl ---------------------------------------------------------------- - -%package -n %{kmodname} -Summary: NVIDIA Driver metapackage -Provides: %{kmodname} = 3:%{version}-%{release} -Requires: %{kmodname}-kmod = %{version}-%{release} -Requires: libnvidia-fbc = 3:%{version} -Requires: libnvidia-ml = 3:%{version} -Requires: nvidia-driver = 3:%{version} -Requires: nvidia-driver-cuda = 3:%{version} -Requires: nvidia-libXNVCtrl = 3:%{version} -BuildArch: noarch - -%description -n %{kmodname} -NVIDIA Driver meta-package, Open GPU kernel modules, latest version -Meta-package requesting all necessary packages related to the NVIDIA driver. - -%files -n %{kmodname} -# empty for metapackage - -%dnl ---------------------------------------------------------------- - %prep # let's make sure we don't publish unsigned builds, that would be bad @@ -107,6 +85,7 @@ for flavor in %{flavors_to_build}; do mv ../%{name}-%{version}-kmodbuild-$flavor . done + %build # This module is useless export NV_EXCLUDE_KERNEL_MODULES=nvidia-peermem @@ -133,6 +112,9 @@ done %changelog +* Mon Aug 04 2025 Neal Gompa - 580.65.06-2 +- Drop metapackage and add more Provides for NVIDIA repository compatibility + * Mon Aug 04 2025 Neal Gompa - 580.65.06-1 - Update to 580.65.06 - Add nvidia-open metapackage for driver+userspace installation -- 2.47.3 From 7a6791a14174fc151ec053350ae9c3ad6e419fd0 Mon Sep 17 00:00:00 2001 From: Andrew Lukoshko Date: Sun, 24 Aug 2025 10:23:57 +0000 Subject: [PATCH 4/6] Rebuild for new kernel --- nvidia-open-kmod.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nvidia-open-kmod.spec b/nvidia-open-kmod.spec index 933bf22..ff8dd20 100644 --- a/nvidia-open-kmod.spec +++ b/nvidia-open-kmod.spec @@ -22,7 +22,7 @@ Name: %{kmodname}-kmod Version: 580.65.06 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Kernel module (kmod) for NVIDIA GPU hardware License: GPL-2.0-only and MIT @@ -112,6 +112,9 @@ done %changelog +* Sun Aug 24 2025 Andrew Lukoshko - 580.65.06-3 +- Rebuild for new kernel + * Mon Aug 04 2025 Neal Gompa - 580.65.06-2 - Drop metapackage and add more Provides for NVIDIA repository compatibility -- 2.47.3 From 232f61945e0516ad2f95814e680062d1875fcb03 Mon Sep 17 00:00:00 2001 From: eabdullin Date: Wed, 3 Sep 2025 12:01:56 +0300 Subject: [PATCH 5/6] Rebuild for new kernel --- nvidia-open-kmod.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nvidia-open-kmod.spec b/nvidia-open-kmod.spec index ff8dd20..00d5e85 100644 --- a/nvidia-open-kmod.spec +++ b/nvidia-open-kmod.spec @@ -22,7 +22,7 @@ Name: %{kmodname}-kmod Version: 580.65.06 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Kernel module (kmod) for NVIDIA GPU hardware License: GPL-2.0-only and MIT @@ -112,6 +112,9 @@ done %changelog +* Wed Sep 03 2025 Eduard Abdullin - 580.65.06-4 +- Rebuild for new kernel + * Sun Aug 24 2025 Andrew Lukoshko - 580.65.06-3 - Rebuild for new kernel @@ -138,4 +141,3 @@ done * Mon May 26 2025 Neal Gompa - 570.153.02-1 - Initial package - -- 2.47.3 From 5cd41fa7d385a3da7901a795fbf379061f9db20d Mon Sep 17 00:00:00 2001 From: Jonathan Wright Date: Wed, 3 Sep 2025 08:58:33 -0500 Subject: [PATCH 6/6] Update to 580.82.07 --- nvidia-open-kmod.spec | 8 ++++---- sources | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/nvidia-open-kmod.spec b/nvidia-open-kmod.spec index 00d5e85..c3054c5 100644 --- a/nvidia-open-kmod.spec +++ b/nvidia-open-kmod.spec @@ -21,8 +21,8 @@ Name: %{kmodname}-kmod -Version: 580.65.06 -Release: 4%{?dist} +Version: 580.82.07 +Release: 1%{?dist} Summary: Kernel module (kmod) for NVIDIA GPU hardware License: GPL-2.0-only and MIT @@ -112,8 +112,8 @@ done %changelog -* Wed Sep 03 2025 Eduard Abdullin - 580.65.06-4 -- Rebuild for new kernel +* Wed Sep 03 2025 Jonathan Wright - 580.82.07-1 +- Update to 580.82.07 * Sun Aug 24 2025 Andrew Lukoshko - 580.65.06-3 - Rebuild for new kernel diff --git a/sources b/sources index 50a2981..05ca043 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (open-gpu-kernel-modules-580.65.06.tar.gz) = b1cdc014b871b174897d6f5df5994c152cc088f3a71acf1e2dfce5fa173369213406d1ff9e4289df23f7e946eabdcdbaa84d8c4644a3e113fe4f329f991724f8 +SHA512 (open-gpu-kernel-modules-580.82.07.tar.gz) = e823d7054e2d352e20ad203a4b99ee1631e08a4848dfdfdb1816320d085a466d00c8ba942e56dd113966aca890afe95e6767a5baa1c0655b8d35983c29bdb327 -- 2.47.3