summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Rossi <rossi.f@inwind.it>2020-04-13 00:03:55 +0200
committerFabio Rossi <rossi.f@inwind.it>2020-04-13 00:16:34 +0200
commitc09acbffdc97ce8aac7720c5ce815359d50d831c (patch)
tree5ad96662213cf5b6c4f7099a3e27e4e767139fdd
parentremoved USE flag bundled-libs (diff)
downloadvmware-c09acbffdc97ce8aac7720c5ce815359d50d831c.tar.gz
vmware-c09acbffdc97ce8aac7720c5ce815359d50d831c.tar.bz2
vmware-c09acbffdc97ce8aac7720c5ce815359d50d831c.zip
app-emulation/vmware-modules: add check for kernel config
Add check for CONFIG_X86_IOPL_IOPERM, if that option is not present the NAT daemon won't start correctly. Signed-off-by: Fabio Rossi <rossi.f@inwind.it>
-rw-r--r--app-emulation/vmware-modules/vmware-modules-308.5.9.ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/app-emulation/vmware-modules/vmware-modules-308.5.9.ebuild b/app-emulation/vmware-modules/vmware-modules-308.5.9.ebuild
index 808905a..8c03ab4 100644
--- a/app-emulation/vmware-modules/vmware-modules-308.5.9.ebuild
+++ b/app-emulation/vmware-modules/vmware-modules-308.5.9.ebuild
@@ -28,6 +28,7 @@ S=${WORKDIR}
pkg_setup() {
CONFIG_CHECK="~HIGH_RES_TIMERS"
+ CONFIG_CHECK="${CONFIG_CHECK} X86_IOPL_IOPERM" # this is needed to avoid startup problems with vmnet-natd
if kernel_is ge 2 6 37 && kernel_is lt 2 6 39; then
CONFIG_CHECK="${CONFIG_CHECK} BKL"
fi