diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2016-08-26 07:47:09 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2016-08-26 07:47:23 +0200 |
commit | 0a0e48fd76ffccab9e190f7fffdd1fe223132cc2 (patch) | |
tree | d7f0acfacb49e698416e6103757c568b375228a1 /app-emulation | |
parent | Fix lsyncd mask (diff) | |
download | gentoo-0a0e48fd76ffccab9e190f7fffdd1fe223132cc2.tar.gz gentoo-0a0e48fd76ffccab9e190f7fffdd1fe223132cc2.tar.bz2 gentoo-0a0e48fd76ffccab9e190f7fffdd1fe223132cc2.zip |
app-emulation/virtualbox-modules: CONFIG_TRIM_UNUSED_KSYMS breaks modules.
See bug #592138.
Package-Manager: portage-2.3.0
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/virtualbox-modules/virtualbox-modules-4.3.40.ebuild | 4 | ||||
-rw-r--r-- | app-emulation/virtualbox-modules/virtualbox-modules-5.1.4.ebuild | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-4.3.40.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-4.3.40.ebuild index a90623b999c1..1d589413554b 100644 --- a/app-emulation/virtualbox-modules/virtualbox-modules-4.3.40.ebuild +++ b/app-emulation/virtualbox-modules/virtualbox-modules-4.3.40.ebuild @@ -32,6 +32,10 @@ pkg_setup() { BUILD_PARAMS="KERN_DIR=${KV_DIR} O=${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." + } src_prepare() { diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-5.1.4.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-5.1.4.ebuild index 7da1a80f0c24..5a8bf08db66f 100644 --- a/app-emulation/virtualbox-modules/virtualbox-modules-5.1.4.ebuild +++ b/app-emulation/virtualbox-modules/virtualbox-modules-5.1.4.ebuild @@ -32,6 +32,10 @@ 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." + } src_prepare() { |