[packages/kernel] no virt directory on arm64 and powerpc

atler atler at pld-linux.org
Fri May 23 11:13:18 CEST 2025


commit 1452ccd564748b5c2cb364a434b6aeb94a0071f1
Author: Jan Palus <atler at pld-linux.org>
Date:   Fri May 23 09:48:02 2025 +0200

    no virt directory on arm64 and powerpc
    
    contrary to x86 which has tristate KVM, arm64 and powerpc have bool KVM.
    as a result it is builtin into kernel for the latter archs and therefore
    IRQ_BYPASS_MANAGER is always pulled as builtin too

 kernel.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/kernel.spec b/kernel.spec
index 41e1497d..48b2624e 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -1185,7 +1185,9 @@ fi
 /lib/modules/%{kernel_release}/kernel/sound
 %endif
 /lib/modules/%{kernel_release}/kernel/security
+%ifnarch aarch64 ppc ppc64
 /lib/modules/%{kernel_release}/kernel/virt
+%endif
 
 %dir %{_sysconfdir}/depmod.d/%{kernel_release}
 %dir %{_sysconfdir}/modprobe.d/%{kernel_release}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kernel.git/commitdiff/36ca765192f596cd0b89a2c0d221e59618a610bf



More information about the pld-cvs-commit mailing list