mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-31 09:08:08 -07:00
app-emulation/virtualbox-modules: check kernel has KPROBES
This package needs CONFIG_KPROBES=y starting with kernel 6.16 to use KVM to control hardware virtualization. Starting with kernel 6.19, it fails to build without this option. Add a config check. Bug: https://bugs.gentoo.org/970012 Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
This commit is contained in:
@@ -23,7 +23,8 @@ PATCHES=(
|
||||
"${FILESDIR}"/${P}-kernel-6.19-{1..3}.patch
|
||||
)
|
||||
|
||||
CONFIG_CHECK="~!SPINLOCK JUMP_LABEL ~PREEMPT_NOTIFIERS"
|
||||
CONFIG_CHECK="~!SPINLOCK JUMP_LABEL ~PREEMPT_NOTIFIERS ~KPROBES"
|
||||
KPROBES_ERROR="CONFIG_KPROBES is required for kernel 6.16+; modules fail to build with kernel 6.19+"
|
||||
|
||||
src_compile() {
|
||||
local modlist=( {vboxdrv,vboxnetflt,vboxnetadp}=misc )
|
||||
Reference in New Issue
Block a user