summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Marc Lenoir2020-08-08 18:20:38 +0200
committerJean-Marc Lenoir2020-08-08 18:20:38 +0200
commit9a8ec2ba408963d380ce179e245315ebf57a1e8a (patch)
tree943cf8250d9850bf5260cdc87bb9d2a586d678a5
parentce131ff1d759f837d486d14fe0d7da9b0af35572 (diff)
downloadaur-9a8ec2ba408963d380ce179e245315ebf57a1e8a.tar.gz
Prevent VMware to run on Linux>=5.8
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
-rw-r--r--vmmon.patch9
3 files changed, 13 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b2ac331bef9..501df5ffec2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = vmware-workstation14
pkgdesc = The industry standard for running multiple operating systems as virtual machines on a single Linux PC.
pkgver = 14.1.7
- pkgrel = 6
+ pkgrel = 7
url = https://www.vmware.com/products/workstation-for-linux.html
install = vmware-workstation.install
arch = x86_64
@@ -82,7 +82,7 @@ pkgbase = vmware-workstation14
sha256sums = d7a9fbf39a0345ae2f14f7f389f30b1110f605d187e0c241e99bbb18993c250d
sha256sums = 05e26d8b21d190ebabb7f693998114d9d5991d9dfb71acb4d990293a65b6b487
sha256sums = 6ce902b1dab8fc69be253abd8e79017011985eca850ff7acc7282f9ab668e35d
- sha256sums = 7bfbabd55c4c147538e96fa89e22827c6282d1231d6958391eebb59578e6188a
+ sha256sums = c9ebfd31a365d150a5eb9cc83d97513470a3eae05accbe31d0bb5f9247673c83
sha256sums = e712332335fde4e4846f18c3fa8c933f173336a44546f87ea02b1e1a53f15911
pkgname = vmware-workstation14
diff --git a/PKGBUILD b/PKGBUILD
index c20e03695c1..6e8d6db55cb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,7 +16,7 @@ pkgname=vmware-workstation14
pkgver=14.1.7
_buildver=12989993
_pkgver=${pkgver}_${_buildver}
-pkgrel=6
+pkgrel=7
pkgdesc='The industry standard for running multiple operating systems as virtual machines on a single Linux PC.'
arch=(x86_64)
url='https://www.vmware.com/products/workstation-for-linux.html'
@@ -119,7 +119,7 @@ sha256sums=(
'05e26d8b21d190ebabb7f693998114d9d5991d9dfb71acb4d990293a65b6b487'
'6ce902b1dab8fc69be253abd8e79017011985eca850ff7acc7282f9ab668e35d'
- '7bfbabd55c4c147538e96fa89e22827c6282d1231d6958391eebb59578e6188a'
+ 'c9ebfd31a365d150a5eb9cc83d97513470a3eae05accbe31d0bb5f9247673c83'
'e712332335fde4e4846f18c3fa8c933f173336a44546f87ea02b1e1a53f15911'
)
options=(!strip emptydirs)
diff --git a/vmmon.patch b/vmmon.patch
index 0d515e71750..c3b47e9c4d0 100644
--- a/vmmon.patch
+++ b/vmmon.patch
@@ -37,6 +37,15 @@
MODULEBUILDDIR=$(MODULEBUILDDIR) postbuild
--- a/vmmon/linux/driver.c
+++ b/vmmon/linux/driver.c
+@@ -38,6 +38,8 @@
+
+ #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 32)
+ #error Linux kernels before 2.6.32 are not supported
++#elif LINUX_VERSION_CODE >= KERNEL_VERSION(5, 8, 0)
++#error Linux kernels from 5.8.0 are not supported
+ #endif
+
+ #include <asm/io.h>
@@ -96,7 +95,9 @@ long LinuxDriver_Ioctl(struct file *filp, u_int iocmd,
unsigned long ioarg);