Skip to content

dr3mro/Fix-VMWare-build-failure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

Fix-VMWare-build-failure

#!/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

About

Fix VMWare build failure

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published