mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
app-emulation/virtualbox-modules: add 7.2.8
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
This commit is contained in:
@@ -2,4 +2,5 @@ DIST vbox-host-kernel-module-src-7.1.14.tar.xz 768400 BLAKE2B 71b1c0ed6e83a7ff72
|
||||
DIST vbox-host-kernel-module-src-7.1.16.tar.xz 768328 BLAKE2B 186709e3dee3b218c383ecfb3554d11c19aa3c8823a366a6e18e26459ceda9c93ca23ba2e3dc80fbc8a2a63b1d32862898aaedb5b4b7811d1001b95f879f128f SHA512 b2a9a2c91d31387b6549c6800f6924a722b3c99eb768f27f935a0d8a66ccbf32091689523c222452aabe24df257cbe1990c1782a6b26c97a0950f794a10d9359
|
||||
DIST vbox-host-kernel-module-src-7.2.4.tar.xz 812144 BLAKE2B 5c18bf9bc656fb3e49c9b3bbc8e2b55175d83680cbb7d8182114a9d07a670d42159f845a79187d5c7ca34ad4e2cccfdce7cd1a4152b5df6aff05b436dfd67f48 SHA512 bff6cbbe8fc76e964078e9b54c10365628950a8bc7c8b6e08c26b903b118e8baeded1ecffd9dfe7170288ca023e877443d23aa9fd4554e3052b66d126634d62f
|
||||
DIST vbox-host-kernel-module-src-7.2.6.tar.xz 854948 BLAKE2B bf6dbaa2ba60eee2e204e08ad5dc4c76788e7e7cae2470c5ffc6355cd91c362a850dc06bdddbec38989df1b3cfeaea03d5f71db101d86b0b93bfa2c523d83003 SHA512 b1c710a6f2d339eb1be56d02794c8ed96f79976e4be8b424924788ffe906eea3c0e01f8289a400727a95123388a228210e70ea3e2c75b72cbb409536c2e899d9
|
||||
DIST vbox-host-kernel-module-src-7.2.8.tar.xz 861596 BLAKE2B d04b6bc042738cf4997ff152f1ba92620b32ef99e1b8296e2e1994e0d5b333ce132a0d75e5ee094813b4e2fa96f628b5dcc20e41a013950eefcf066455028989 SHA512 8240a37fe5d673db5b3d865f8a8cf77340b141dabfb70936961ff9364b4b9303d5f727ac90dd60c3cbeaa9e01d9e1ff6c00e80c6fcf72e6d5a72f1e9e61cc4c8
|
||||
DIST vbox-kernel-module-src-7.0.26.tar.xz 721876 BLAKE2B 355ac80cc96f4ad259a0fdbb909803bbec884c1d25fc9061f45f7039a0857b4f6cc93d4739cf85a82b9544aae06bf7b689d5d530ffc2fe97a874ef57d123423f SHA512 5980721197b908d5d991b258be395a8b542b8183eac7b146b147e4dbea9ff0b0408de5733b12d02a159b689bde29966a55fa7b64c953b9abe4180dbf6e0ebcb6
|
||||
|
||||
@@ -0,0 +1,49 @@
|
||||
# Copyright 2022-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# XXX: the tarball here is just the kernel modules split out of the sources
|
||||
# using the upstream provided export_modules.sh
|
||||
# https://distfiles.gentoo.org/pub/dev/ceamac@gentoo.org/app-emulation/virtualbox-modules/make-modules-from-source
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit linux-mod-r1
|
||||
|
||||
MY_P="vbox-host-kernel-module-src-${PV^^}"
|
||||
DESCRIPTION="Kernel Modules for Virtualbox"
|
||||
HOMEPAGE="https://www.virtualbox.org/"
|
||||
SRC_URI="https://distfiles.gentoo.org/pub/dev/ceamac@gentoo.org/${CATEGORY}/${PN}/${MY_P}.tar.xz"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0/$(ver_cut 1-2)"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
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 )
|
||||
local modargs=( KERN_DIR="${KV_OUT_DIR}" KERN_VER="${KV_FULL}" )
|
||||
linux-mod-r1_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
linux-mod-r1_src_install
|
||||
insinto /usr/lib/modules-load.d/
|
||||
newins "${FILESDIR}"/virtualbox.conf-r1 virtualbox.conf
|
||||
|
||||
insinto /etc/modprobe.d # bug #945135
|
||||
newins - virtualbox.conf <<-EOF
|
||||
# modprobe.d configuration file for VBOXSF
|
||||
|
||||
# Starting with kernel 6.12,
|
||||
# KVM initializes virtualization on module loading by default.
|
||||
# This prevents VirtualBox VMs from starting.
|
||||
# See also:
|
||||
# https://bugs.gentoo.org/945135
|
||||
# https://www.virtualbox.org/wiki/Changelog-7.1
|
||||
# ------------------------------
|
||||
options kvm enable_virt_at_load=0
|
||||
EOF
|
||||
}
|
||||
Reference in New Issue
Block a user