app-emulation/virtualbox-guest-modules - 7.1.8 (natinst)

Search

Install

Install this version:

emerge -a =app-emulation/virtualbox-guest-modules-7.1.8

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-emulation/virtualbox-guest-modules-7.1.8

Or alternatively:

emerge --autounmask-write -a =app-emulation/virtualbox-guest-modules-7.1.8

Package Information

Description:
Kernel Modules for Virtualbox Guest Additions
Homepage:
https://www.virtualbox.org/
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
7.1.8 8 ~amd64 ~x86 0/$(ver_cut 1-2)
View Raw Ebuild
# 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 dkms

MY_P="vbox-guest-kernel-module-src-${PV}"
DESCRIPTION="Kernel Modules for Virtualbox Guest Additions"
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 ~x86"

PATCHES=(
	"${FILESDIR}"/${PN}-6.1.36-log-use-c99.patch
)

CONFIG_CHECK="~DRM_TTM ~DRM_VMWGFX"
WARNING_DRM_TTM="DRM_TTM is needed for running the vboxvideo driver."
WARNING_DRM_VMWGFX="DRM_VMWGFX is the recommended driver for VMSVGA."

src_compile() {
	local modlist=( {vboxguest,vboxsf}=misc )
	local modargs=( KERN_DIR="${KV_OUT_DIR}" KERN_VER="${KV_FULL}" )
	dkms_src_compile --no-kernelrelease
}

src_install() {
	dkms_src_install

	insinto /etc/modprobe.d # 485996
	newins - vboxsf.conf <<-EOF
		# modprobe.d configuration file for VBOXSF

		# Internal Aliases - Do not edit
		# ------------------------------
		alias fs-vboxsf vboxsf
	EOF
}

Inherited Eclasses

Manifest for 7.1.8

Type File Size Source URLs
DIST vbox-guest-kernel-module-src-7.1.8.tar.xz 710656 bytes https://dev.gentoo.org/~ceamac//virtualbox-guest-modules/vbox-guest-kernel-module-src-7.1.8.tar.xz