summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2016-10-25 10:36:37 +0200
committerLars Wendler <polynomial-c@gentoo.org>2016-10-25 10:37:32 +0200
commitd6dc8bbc8e5b541177270f019715fca243c95a58 (patch)
tree039ce764d86d76865ad3a0254db5f21ccb17919a /app-emulation/virtualbox-modules
parentmedia-tv/kodi-16.1 and media-tv/kodi-17.0_beta3: version bump (diff)
downloadgentoo-d6dc8bbc8e5b541177270f019715fca243c95a58.tar.gz
gentoo-d6dc8bbc8e5b541177270f019715fca243c95a58.tar.bz2
gentoo-d6dc8bbc8e5b541177270f019715fca243c95a58.zip
app-emulation/virtualbox-modules: Fixed check for TRIM_UNUSED_KSYMS option
Added the check to some more ebuilds. Package-Manager: portage-2.3.2 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'app-emulation/virtualbox-modules')
-rw-r--r--app-emulation/virtualbox-modules/virtualbox-modules-5.0.16.ebuild10
-rw-r--r--app-emulation/virtualbox-modules/virtualbox-modules-5.0.26.ebuild6
-rw-r--r--app-emulation/virtualbox-modules/virtualbox-modules-5.1.6.ebuild6
-rw-r--r--app-emulation/virtualbox-modules/virtualbox-modules-5.1.8.ebuild6
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() {