#!/bin/sh
# switch to the vmmware modules source dir
cd /usr/lib/vmware/modules/source/
# create backup of the modules
cp vmmon.tar vmmon.tar.bak
# extract the module with code issue
tar -xvf vmmon.tar
# fix the line that caused the build to fail
sed -i "s/asm\/timex/uapi\/linux\/timex/" vmmon-only/common/vmx86.c
# package the module again
tar -cvf vmmon.tar vmmon-only
# remove the working dir
rm -rf vmmon-only
# try to rebuild the module
vmware-modconfig --console --install-all
-
Notifications
You must be signed in to change notification settings - Fork 0
dr3mro/Fix-VMWare-build-failure
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Fix VMWare build failure
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published