From f913f2bd38728510b9f203152fc19f1e56cfe348fa6f1b6bb66f0a454c3e75fe Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Fri, 18 Oct 2024 13:33:52 +0000 Subject: [PATCH] - cuda-flavor * provide nvidia-open-driver-G06-kmp = %version to workaround broken cuda-drivers - nv-prefer-signed-open-driver * added comments for requirements OBS-URL: https://build.opensuse.org/package/show/X11:Drivers:Video:Redesign/nvidia-open-driver-G06-signed?expand=0&rev=142 --- nvidia-open-driver-G06-signed.changes | 9 +++++++++ nvidia-open-driver-G06-signed.spec | 2 ++ preamble | 2 ++ 3 files changed, 13 insertions(+) diff --git a/nvidia-open-driver-G06-signed.changes b/nvidia-open-driver-G06-signed.changes index 7379cdb..3793440 100644 --- a/nvidia-open-driver-G06-signed.changes +++ b/nvidia-open-driver-G06-signed.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri Oct 18 13:31:46 UTC 2024 - Stefan Dirsch + +- cuda-flavor + * provide nvidia-open-driver-G06-kmp = %version to workaround + broken cuda-drivers +- nv-prefer-signed-open-driver + * added comments for requirements + ------------------------------------------------------------------- Fri Oct 18 12:28:39 UTC 2024 - Stefan Dirsch diff --git a/nvidia-open-driver-G06-signed.spec b/nvidia-open-driver-G06-signed.spec index 90896db..24c1aa6 100644 --- a/nvidia-open-driver-G06-signed.spec +++ b/nvidia-open-driver-G06-signed.spec @@ -133,6 +133,8 @@ ExclusiveArch: x86_64 aarch64 Summary: Prefer the signed open driver when installing CUDA Requires: nvidia-open-driver-G06-signed-cuda-kmp # This avoids the package being uninstallable when the CUDA repo is unavaliable preventing problems in staging +# Hard code version 555.42.06 as this requires is only needed for this version +# but since this meta package should apply to all versions. Requires: ( nvidia-compute-G06 = 555.42.06 if ( cuda-drivers = 555.42.06 or cuda-drivers-%version_major = 555.42.06) ) %description -n nv-prefer-signed-open-driver diff --git a/preamble b/preamble index f352a97..2ac7552 100644 --- a/preamble +++ b/preamble @@ -8,6 +8,8 @@ Provides: nvidia-open-driver-G06-signed-kmp = %{-v*} Provides: nvidia-open-driver-G06-signed-kmp-%1 = %{-v*} Conflicts: nvidia-open-driver-G06-signed-kmp Conflicts: nvidia-open-driver-G06-signed-kmp-%1 +# workaround for broken cuda-drivers +Provides: nvidia-open-driver-G06-kmp = %{-v*} Requires: (kernel-firmware-nvidia-gspx-G06 = %{-v*} if (nvidia-compute-utils-G06 = %{-v*} or nvidia-compute-G06 = %{-v*} or sle-module-NVIDIA-compute-release)) %else Requires: (kernel-firmware-nvidia-gspx-G06 = %{-v*} if nvidia-compute-utils-G06 = %{-v*})