diff options
author | Fabio Rossi <rossi.f@inwind.it> | 2020-05-02 23:31:14 +0200 |
---|---|---|
committer | Fabio Rossi <rossi.f@inwind.it> | 2020-05-02 23:31:14 +0200 |
commit | 769bcd16cf8a67333f90e145798d8b509c664918 (patch) | |
tree | 8b00ea4e6096b0be33dc7c7468296328f88fc937 | |
parent | The virtual/jpeg:62 is not anymore in portage, fix it (diff) | |
download | vmware-769bcd16cf8a67333f90e145798d8b509c664918.tar.gz vmware-769bcd16cf8a67333f90e145798d8b509c664918.tar.bz2 vmware-769bcd16cf8a67333f90e145798d8b509c664918.zip |
app-emulation/vmware-modules: fix check for kernel option
X86_IOPL_IOPERM has been added in kernel 5.5,
fixes issue #51 on github
Signed-off-by: Fabio Rossi <rossi.f@inwind.it>
-rw-r--r-- | app-emulation/vmware-modules/vmware-modules-308.5.9.ebuild | 3 |
1 files changed, 2 insertions, 1 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 8c03ab4..c7f9df1 100644 --- a/app-emulation/vmware-modules/vmware-modules-308.5.9.ebuild +++ b/app-emulation/vmware-modules/vmware-modules-308.5.9.ebuild @@ -28,7 +28,8 @@ 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 + kernel_is ge 5 5 0 && + CONFIG_CHECK="${CONFIG_CHECK} X86_IOPL_IOPERM" # 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 |