diff options
Diffstat (limited to 'app-emulation/virtualbox-modules')
4 files changed, 18 insertions, 10 deletions
diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-5.0.16.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-5.0.16.ebuild index 0cdee85050c4..913ed616c885 100644 --- a/app-emulation/virtualbox-modules/virtualbox-modules-5.0.16.ebuild +++ b/app-emulation/virtualbox-modules/virtualbox-modules-5.0.16.ebuild @@ -28,10 +28,14 @@ BUILD_TARGET_ARCH="${ARCH}" MODULE_NAMES="vboxdrv(misc:${S}) vboxnetflt(misc:${S}) vboxnetadp(misc:${S}) vboxpci(misc:${S})" pkg_setup() { + enewgroup vboxusers + + CONFIG_CHECK="!TRIM_UNUSED_KSYMS" + ERROR_TRIM_UNUSED_KSYMS="This option removed kernel symbols that are needed by ${PN} to load correctly." + linux-mod_pkg_setup BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR} V=1 KBUILD_VERBOSE=1" - enewgroup vboxusers } src_prepare() { @@ -55,7 +59,7 @@ src_install() { pkg_postinst() { linux-mod_pkg_postinst - elog "If you are using sys-apps/openrc, please add \"vboxdrv\", \"vboxnetflt\"" - elog "and \"vboxnetadp\" to:" + elog "If you are using sys-apps/openrc, please add \"vboxdrv\", \"vboxnetflt\"," + elog "\"vboxnetadp\" and \"vboxpci\" to:" elog " /etc/conf.d/modules" } diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-5.0.26.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-5.0.26.ebuild index 7da1a80f0c24..913ed616c885 100644 --- a/app-emulation/virtualbox-modules/virtualbox-modules-5.0.26.ebuild +++ b/app-emulation/virtualbox-modules/virtualbox-modules-5.0.26.ebuild @@ -28,10 +28,14 @@ BUILD_TARGET_ARCH="${ARCH}" MODULE_NAMES="vboxdrv(misc:${S}) vboxnetflt(misc:${S}) vboxnetadp(misc:${S}) vboxpci(misc:${S})" pkg_setup() { + enewgroup vboxusers + + CONFIG_CHECK="!TRIM_UNUSED_KSYMS" + ERROR_TRIM_UNUSED_KSYMS="This option removed kernel symbols that are needed by ${PN} to load correctly." + linux-mod_pkg_setup BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR} V=1 KBUILD_VERBOSE=1" - enewgroup vboxusers } src_prepare() { diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-5.1.6.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-5.1.6.ebuild index 5a8bf08db66f..913ed616c885 100644 --- a/app-emulation/virtualbox-modules/virtualbox-modules-5.1.6.ebuild +++ b/app-emulation/virtualbox-modules/virtualbox-modules-5.1.6.ebuild @@ -28,14 +28,14 @@ BUILD_TARGET_ARCH="${ARCH}" MODULE_NAMES="vboxdrv(misc:${S}) vboxnetflt(misc:${S}) vboxnetadp(misc:${S}) vboxpci(misc:${S})" pkg_setup() { - linux-mod_pkg_setup - - BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR} V=1 KBUILD_VERBOSE=1" enewgroup vboxusers CONFIG_CHECK="!TRIM_UNUSED_KSYMS" ERROR_TRIM_UNUSED_KSYMS="This option removed kernel symbols that are needed by ${PN} to load correctly." + linux-mod_pkg_setup + + BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR} V=1 KBUILD_VERBOSE=1" } src_prepare() { diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-5.1.8.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-5.1.8.ebuild index 5a8bf08db66f..913ed616c885 100644 --- a/app-emulation/virtualbox-modules/virtualbox-modules-5.1.8.ebuild +++ b/app-emulation/virtualbox-modules/virtualbox-modules-5.1.8.ebuild @@ -28,14 +28,14 @@ BUILD_TARGET_ARCH="${ARCH}" MODULE_NAMES="vboxdrv(misc:${S}) vboxnetflt(misc:${S}) vboxnetadp(misc:${S}) vboxpci(misc:${S})" pkg_setup() { - linux-mod_pkg_setup - - BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR} V=1 KBUILD_VERBOSE=1" enewgroup vboxusers CONFIG_CHECK="!TRIM_UNUSED_KSYMS" ERROR_TRIM_UNUSED_KSYMS="This option removed kernel symbols that are needed by ${PN} to load correctly." + linux-mod_pkg_setup + + BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR} V=1 KBUILD_VERBOSE=1" } src_prepare() { |