commit f15ba8cfeb3d77d73fc28b153e7f3acbe4c618c4
Author: Henrik Nordström <henrik(a)hno.se>
Date: Mon Jan 31 04:16:26 2022 +0100
uvm is not available on ARM
nvidia-390xx-kmod.spec | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/nvidia-390xx-kmod.spec b/nvidia-390xx-kmod.spec
index 625634d..a376fb9 100644
--- a/nvidia-390xx-kmod.spec
+++ b/nvidia-390xx-kmod.spec
@@ -80,7 +80,9 @@ kmodtool --target %{_target_cpu} --repo rpmfusion --kmodname %{name}
--filterf
tar --use-compress-program xz -xf
%{_datadir}/%{name}-%{version}/%{name}-%{version}-%{_target_cpu}.tar.xz
# Apply patches
%patch10 -p1 -b 10 -d kernel
+%ifnarch armv7hl
%patch11 -p1 -b 11 -d kernel
+%endif
%patch12 -p1 -b 12 -d kernel
%patch13 -p1 -b 13 -d kernel
%patch14 -p2 -b 14 -d kernel