commit 671c396c28950f0573ee84c0eb468324b0c782ea
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Thu Nov 17 18:28:42 2022 +0100
Fix aarch64 on rhel9
v4l2loopback-kmod.spec | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/v4l2loopback-kmod.spec b/v4l2loopback-kmod.spec
index d97d5b7..471a5a6 100644
--- a/v4l2loopback-kmod.spec
+++ b/v4l2loopback-kmod.spec
@@ -1,6 +1,12 @@
%if 0%{?fedora}
%global buildforkernels akmod
%endif
+%if 0%{?el9}
+# kmod fails on rhel9 kernel with aarch64 - just build an akmod there
+%ifarch aarch64
+%global buildforkernels akmod
+%endif
+%endif
%global debug_package %{nil}
%global prjname v4l2loopback