mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
app-emulation/virtualbox-modules: add 7.1.8
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
DIST vbox-host-kernel-module-src-7.1.8.tar.xz 767424 BLAKE2B 846a0f77892aad8edd7ee6935e2c846daa8cd6b42fb2eccc78813e0d5e19c371849e94a8f75a12a2bf2a65e641b4c22ff3a9c4ff9b3f5747bbd02e07867a4a89 SHA512 5430de7428b4951abe7e55243d63fa533ce720ae27c6664349db76d3f7522f4bcbd46d334f7fdad9dc731c6f2ce8c993c11bd4194f98f9a5a17c2a83160eda1c
|
||||
DIST vbox-kernel-module-src-6.1.50.tar.xz 680700 BLAKE2B c3a10ce8f3eb7e6c0c05f81cd3c072296557b9f9f6f501bb0aec3f04aabfe1fbb67b553510104139cef290c09ff9e67161085781b8d28c968dfafd15958a1b1a SHA512 7822e421b595263cbdaae08103255742360ca7ab0c385818ec895f10570c5b9ed5c7614742d8fa8bc2414cd426907cd1c49d735cde8caf9d2b7692898058f592
|
||||
DIST vbox-kernel-module-src-7.0.22.tar.xz 720516 BLAKE2B acbc2953661a61a49b502abf286d8d63e089b23baa12ffac8dff8c96a82698dfe45769dd46c86762e98ae3b5ea5b6dd3aa69bd9079210a11838ef7cc8cd7f754 SHA512 5a1a38825fba9eec036db4ae7ccfa7b37e399edbb4ed6c99fc1f03f2e61396867a7f0d059cf862f17992b7896867d334ea7edaed4205f61abe4328cef07bd8db
|
||||
DIST vbox-kernel-module-src-7.0.24.tar.xz 721956 BLAKE2B 75100e27e9b6cfd5d1b7c2a4add1f76857d99e5b5842e80a03d1a2d2aea10df9b8de856e99d0f1a7b9b70270c714a8c8057d49023ad3d25be4ebc8188e1e01df SHA512 d97c115ef31f5ea5f2f1ec494346aea1eb8979be505ee7128885c2eea72c5861b52285cf4dfa3b7cb5d1a29a536ac0998229ffa4f8787740c263e701ad5a7729
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
# Copyright 2022-2025 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 binary
|
||||
# package that comes from VirtualBox-*.run
|
||||
# XXX: update: now it is split from virtualbox-*-Debian~bullseye_amd64.deb
|
||||
|
||||
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://dev.gentoo.org/~ceamac/${CATEGORY}/${PN}/${MY_P}.tar.xz"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0/$(ver_cut 1-2)"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
CONFIG_CHECK="~!SPINLOCK JUMP_LABEL"
|
||||
|
||||
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