From 88d534689c308d63196ce5e934ddb490646b1fc1 Mon Sep 17 00:00:00 2001 From: Jonathan Wright Date: Fri, 4 Jul 2025 08:57:11 -0500 Subject: [PATCH] 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