Add conditional to help prevent shipping unsigned (secure boot) packages #7

Merged
jonathan merged 1 commit from jonathan/nvidia-open-kmod:a10s into a10s 2025-07-04 14:42:00 +00:00
Owner

update to 575.64.03

update to 575.64.03
Author
Owner

Please merge using "rebase then fast forward".

Not ready to merge yet, waiting on test builds.

Please merge using "rebase then fast forward". Not ready to merge yet, waiting on test builds.
jonathan changed title from Add conditional to help prevent shipping unsigned (secure boot) packages to WIP: Add conditional to help prevent shipping unsigned (secure boot) packages 2025-07-04 14:06:01 +00:00
@ -72,1 +72,3 @@
%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"
echo "modsign_os macro not set to almalinux-nvidia-signing, exiting"
Collaborator

Instead of echo + exit 1, use the following:

%{error:modsign_os macro not set to almalinux-nvidia-signing, exiting}
Instead of echo + exit 1, use the following: ```specfile %{error:modsign_os macro not set to almalinux-nvidia-signing, exiting} ```
jonathan marked this conversation as resolved
jonathan changed title from WIP: Add conditional to help prevent shipping unsigned (secure boot) packages to Add conditional to help prevent shipping unsigned (secure boot) packages 2025-07-04 14:41:48 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
rpms/nvidia-open-kmod!7
No description provided.