Last active
September 7, 2017 06:01
-
-
Save snazzybunny/9bb3fce3d296d6e3d9d9466f73e353e5 to your computer and use it in GitHub Desktop.
build vmware kernel modules on archlinux - kernel 4.13rc5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#make sure linux headers are installed | |
sudo pacman -S downgrade | |
downgrade libpng | |
#select libpng .28 | |
sudo su | |
cd /usr/lib/vmware/modules/source | |
tar xf vmnet.tar | |
cd vmnet-only | |
wget https://communities.vmware.com/servlet/JiveServlet/download/2688951-180357/VMware-Workstation-12.5.7-kernel4.13-atomic-inc.patch.zip | |
unzip VMware-Workstation-12.5.7-kernel4.13-atomic-inc.patch.zip | |
patch < VMware-Workstation-12.5.7-kernel4.13-atomic-inc.patch | |
make | |
cd .. | |
tar xf vmmon.tar | |
cd vmmon-only | |
make | |
cd .. | |
cp vmmon.o /lib/modules/`uname -r`/kernel/drivers/misc/vmmon.ko | |
cp vmnet.o /lib/modules/`uname -r`/kernel/drivers/misc/vmnet.ko | |
depmod -a | |
/etc/init.d/vmware restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment