commit kernel-firmware-nvidia-gspx-G06 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kernel-firmware-nvidia-gspx-G06 for openSUSE:Factory checked in at 2024-07-11 20:33:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kernel-firmware-nvidia-gspx-G06 (Old) and /work/SRC/openSUSE:Factory/.kernel-firmware-nvidia-gspx-G06.new.17339 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "kernel-firmware-nvidia-gspx-G06" Thu Jul 11 20:33:27 2024 rev:15 rq:1186868 version:550.100 Changes: -------- --- /work/SRC/openSUSE:Factory/kernel-firmware-nvidia-gspx-G06/kernel-firmware-nvidia-gspx-G06.changes 2024-07-09 20:07:34.516535382 +0200 +++ /work/SRC/openSUSE:Factory/.kernel-firmware-nvidia-gspx-G06.new.17339/kernel-firmware-nvidia-gspx-G06.changes 2024-07-11 20:34:13.355141519 +0200 @@ -1,0 +2,10 @@ +Thu Jul 11 10:56:16 UTC 2024 - Egbert Eich <eich@suse.com> + +- For CUDA update version to 555.42.6. +- Use firmware for one arch only as firmware doesn't run on + the CPU and therefore should be arch-independent. This has + been confirmed by NVIDIA. + Since the run file attempts to run binaries if these are + not installed, 'BuildRequire:' zstd. + +------------------------------------------------------------------- Old: ---- NVIDIA-Linux-aarch64-550.100.run NVIDIA-Linux-aarch64-555.42.02.run NVIDIA-Linux-x86_64-555.42.02.run kernel-firmware-nvidia-gspx-G06-cuda-rpmlintrc New: ---- kernel-firmware-nvidia-gspx-G06-555.42.06-0.x86_64.rpm ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kernel-firmware-nvidia-gspx-G06.spec ++++++ --- /var/tmp/diff_new_pack.S0125R/_old 2024-07-11 20:34:18.055311457 +0200 +++ /var/tmp/diff_new_pack.S0125R/_new 2024-07-11 20:34:18.059311601 +0200 @@ -17,7 +17,7 @@ %define gfx_version 550.100 -%define cuda_version 555.42.02 +%define cuda_version 555.42.06 %global flavor @BUILD_FLAVOR@%{?nil} %if "%{flavor}" == "cuda" @@ -26,11 +26,7 @@ %define simpletest 0 -%ifarch x86_64 %define arch x86_64 -%else -%define arch aarch64 -%endif %if %{undefined _firmwaredir} %define _firmwaredir /lib/firmware @@ -47,21 +43,22 @@ Summary: Kernel firmware file for open NVIDIA kernel module driver G06 License: GPL-2.0-only AND SUSE-Firmware AND GPL-2.0-or-later AND MIT Group: System/Kernel +%if %{without cuda} Source0: http://download.nvidia.com/XFree86/Linux-x86_64/%{version}/NVIDIA-Linux-x86_64-%{version}.run -Source1: http://download.nvidia.com/XFree86/Linux-aarch64/%{version}/NVIDIA-Linux-aarch64-%{version}.run +NoSource: 0 +%endif # This is defined at build, not for 'osc service run download_files` or # factory_auto. This both sources are seen outside of the build but only # the matching one will be included in the srpm for the respective flavor. -%if %{undefined linux_arch} -Source2: http://download.nvidia.com/XFree86/Linux-x86_64/%{cuda_version}/NVIDIA-Linux-x86_64-%{cuda_version}.run -Source3: http://download.nvidia.com/XFree86/Linux-aarch64/%{cuda_version}/NVIDIA-Linux-aarch64-%{cuda_version}.run +%if %{undefined linux_arch} || %{with cuda} +Source1: https://developer.download.nvidia.com/compute/cuda/repos/sles15/x86_64/kernel-firmware-nvidia-gspx-G06-%{cuda_version}-0.x86_64.rpm +NoSource: 1 %endif Source4: kernel-firmware-nvidia-gspx-G06-rpmlintrc -Source5: kernel-firmware-nvidia-gspx-G06-cuda-rpmlintrc -NoSource: 0 -NoSource: 1 + # Only required to distinguish between build and factor-auto BuildRequires: kernel-macros +BuildRequires: zstd %if 0%{simpletest} == 0 Provides: multiversion(kernel) %endif @@ -69,19 +66,25 @@ Provides: kernel-firmware-nvidia-gspx-G06 = %version Conflicts: kernel-firmware-nvidia-gspx-G06 %endif -ExclusiveArch: x86_64 aarch64 Obsoletes: kernel-firmware-nvidia-gsp-G06 = 535.86.05 +ExclusiveArch: x86_64 aarch64 +BuildArch: noarch %description This package contains the versioned kernel firmware file "gsp.bin" for the OpenSource NVIDIA kernel module driver G06. %prep +%if %{without cuda} sh %{_sourcedir}/NVIDIA-Linux-%{arch}-%{version}.run -x +%else +rpm2cpio %{SOURCE1} | cpio -di +%endif %build %install +%if %{without cuda} mkdir -p %{buildroot}%{_firmwaredir}/nvidia/%{version} install -m 644 NVIDIA-Linux-%{arch}-%{version}/firmware/{gsp_ga10x.bin,gsp_tu10x.bin} \ %{buildroot}%{_firmwaredir}/nvidia/%{version} @@ -91,6 +94,11 @@ install -m 755 ./NVIDIA-Linux-%{arch}-%{version}/libnvidia-ml.so.%{version} %{buildroot}/usr/lib/%{name} ln -snf libnvidia-ml.so.%{version} %{buildroot}/usr/lib/%{name}/libnvidia-ml.so.1 %endif +%else +mkdir -p %{buildroot}%{_firmwaredir}/nvidia/%{version} +install -m 644 ./lib/firmware/nvidia/%{version}/{gsp_ga10x.bin,gsp_tu10x.bin} \ + %{buildroot}%{_firmwaredir}/nvidia/%{version} +%endif %if 0%{simpletest} == 1 %post -p /sbin/ldconfig @@ -102,7 +110,7 @@ %dir %{_firmwaredir}/nvidia/%{version} %{_firmwaredir}/nvidia/%{version}/gsp_ga10x.bin %{_firmwaredir}/nvidia/%{version}/gsp_tu10x.bin -%if 0%{simpletest} == 1 +%if 0%{simpletest} == 1 && %{without cuda} %dir /usr/lib/%{name} /usr/lib/%{name}/nvidia-smi /usr/lib/%{name}/libnvidia-ml.so.%{version} ++++++ kernel-firmware-nvidia-gspx-G06-rpmlintrc ++++++ --- /var/tmp/diff_new_pack.S0125R/_old 2024-07-11 20:34:18.115313627 +0200 +++ /var/tmp/diff_new_pack.S0125R/_new 2024-07-11 20:34:18.115313627 +0200 @@ -1,2 +1,7 @@ addFilter("kernel-firmware-nvidia-gspx.*shlib-policy-name-error") +# Firmware doesn't run on the CPU. It should be arch-independent; +# NVIDIA has confirmed this. + +addFilter(".* (W|E): arch-independent-package-contains-binary-or-object .*/usr/lib/firmware/nvidia/*") +
participants (1)
-
Source-Sync