{"id":13746869,"url":"https://github.com/rasa/vmware-tools-patches","last_synced_at":"2025-05-16T09:05:25.844Z","repository":{"id":10669076,"uuid":"12904015","full_name":"rasa/vmware-tools-patches","owner":"rasa","description":"Patch and build VMware tools automatically","archived":false,"fork":false,"pushed_at":"2019-05-21T08:28:24.000Z","size":258,"stargazers_count":1198,"open_issues_count":34,"forks_count":199,"subscribers_count":78,"default_branch":"master","last_synced_at":"2025-04-12T04:49:39.581Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/rasa/vmware-tools-patches/wiki","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rasa.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-09-17T18:49:42.000Z","updated_at":"2025-03-18T19:43:30.000Z","dependencies_parsed_at":"2022-09-22T21:10:36.346Z","dependency_job_id":null,"html_url":"https://github.com/rasa/vmware-tools-patches","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rasa%2Fvmware-tools-patches","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rasa%2Fvmware-tools-patches/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rasa%2Fvmware-tools-patches/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rasa%2Fvmware-tools-patches/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rasa","download_url":"https://codeload.github.com/rasa/vmware-tools-patches/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254501557,"owners_count":22081528,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T06:01:03.296Z","updated_at":"2025-05-16T09:05:20.823Z","avatar_url":"https://github.com/rasa.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# VMware Tools Patches [![Flattr this][flatter_png]][flatter]\n\nPatch VMware Tools source code for a variety of VMware Tools and kernel versions.\n\n## Quickest Start (The easiest way)\n\n```bash\n$ git clone https://github.com/rasa/vmware-tools-patches.git\n$ cd vmware-tools-patches\n$ ./patched-open-vm-tools.sh\n```\nThe above script has been provided which generally should always work, automatically invoking commands described in the following section \"Quick Start\"\n\nTo update and re-patch later, remove the `vmware-tools-patches` subdirectory with the previous download and re-run the script.\n\n## Quick Start\n\nTo build VMware Tools, do the following:\n\n1. Checkout the repository:\n\t```bash\n\t$ git clone https://github.com/rasa/vmware-tools-patches.git\n\t```\n\n2. *(Optional)* Copy your patch(es) into the appropriate directory in the `patches` directory. Patches must end in `.patch`, or `.diff` and be [properly formatted](#required-patch-format). For example:\n\t```bash\n\t$ cp great-new.patch vmware-tools-patches/patches/vmhgfs\n\t```\n\n3. Copy or download the version of VMware Tools you wish to use into the `vmware-tools-patches` folder. One way to do this is using [download-tools.sh](../../blob/master/download-tools.sh) and pass it the associated VMWare Fusion version number:\n\t```bash\n\t$ cd vmware-tools-patches\n\t$ ./download-tools.sh latest\n\t```\n\n   It is strongly suggested to use the [latest version](#tested-vmware-tools-versions) of VMware Tools.\n\n   VMware Tools is also included inside the `linux.iso` file that is shipped with VMware Fusion, Player, and Workstation. \n\n4. Untar the tarball, and apply the patches:\n\t```bash\n\t$ cd vmware-tools-patches\n\t$ ./untar-and-patch.sh\n\t```\n\n5. Run the `vmware-install.pl` installer to install VMware Tools:\n\t```bash\n\t$ ./compile.sh\n\t```\n\n## Tested Kernels\n\nWith the patches applied, at least one version of VMware Tools listed [below](#tested-vmware-tools-versions), compiles successfully with the following Linux kernels:\n\n* [4.0.x](http://kernelnewbies.org/Linux_4.0)\n* [3.19.x](http://kernelnewbies.org/Linux_3.19)\n* [3.18.x](http://kernelnewbies.org/Linux_3.18)\n* [3.17.x](http://kernelnewbies.org/Linux_3.17)\n* [3.16.x](http://kernelnewbies.org/Linux_3.16)\n* [3.13.x](http://kernelnewbies.org/Linux_3.13)\n* [3.12.x](http://kernelnewbies.org/Linux_3.12)\n* [3.11.x](http://kernelnewbies.org/Linux_3.11)\n* [3.8.x](http://kernelnewbies.org/Linux_3.8)\n* [3.5.x](http://kernelnewbies.org/Linux_3.5)\n* [2.6.32](http://kernelnewbies.org/Linux_2.6.32)\n\nWe have not received any reports of the patches failing on the following kernels, so presumably they apply successfully:\n\n* [3.15.x](http://kernelnewbies.org/Linux_3.15)\n* [3.14.x](http://kernelnewbies.org/Linux_3.14)\n* [3.10.x](http://kernelnewbies.org/Linux_3.10)\n* [3.9.x](http://kernelnewbies.org/Linux_3.9)\n* [3.7.x](http://kernelnewbies.org/Linux_3.7) and earlier\n\n## Tested VMware Tools Versions\n\nThe included patches have been tested with the following versions of VMware Tools:\n\n* [VMwareTools-10.0.10-4301679.tar.gz](https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/8.5.0/4352717/packages/com.vmware.fusion.tools.linux.zip.tar) (VMware Fusion 8.5.0/1/2 \u0026 Workstation 12.5.0/1/2)\n* [VMwareTools-10.0.6-3595377.tar.gz](https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/8.1.1/3771013/packages/com.vmware.fusion.tools.linux.zip.tar) (VMware Fusion 8.1.1 \u0026 Workstation 12.1.1)\n* [VMwareTools-10.0.5-3228253.tar.gz](https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/8.1.0/3272237/packages/com.vmware.fusion.tools.linux.zip.tar) (VMware Fusion 8.1.0 \u0026 Workstation 12.1.0)\n* [VMwareTools-10.0.1-3160059.tar.gz](https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/8.0.2/3164312/packages/com.vmware.fusion.tools.linux.zip.tar) (VMware Fusion 8.0.2 \u0026 Workstation 12.0.1)\n* [VMwareTools-10.0.0-2977863.tar.gz](https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/8.0.1/3094680/packages/com.vmware.fusion.tools.linux.zip.tar) (VMware Fusion 8.0.1)\n* [VMwareTools-10.0.0-2977863.tar.gz](https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/8.0.0/2985594/packages/com.vmware.fusion.tools.linux.zip.tar) (VMware Fusion 8.0.0 \u0026 Workstation 12.0.0)\n* [VMwareTools-9.9.4-3193940.tar.gz](https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/7.1.3/3204469/packages/com.vmware.fusion.tools.linux.zip.tar) (VMware Fusion 7.1.3 \u0026 Workstation 11.1.3)\n* [VMwareTools-9.9.3-2759765.tar.gz](https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/7.1.2/2779224/packages/com.vmware.fusion.tools.linux.zip.tar) (VMware Fusion 7.1.2 \u0026 Workstation 11.1.2)\n* [VMwareTools-9.9.2-2496486.tar.gz](https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/7.1.1/2498930/packages/com.vmware.fusion.tools.linux.zip.tar) (VMware Fusion 7.1.1 \u0026 Workstation 11.1.0)\n* [VMwareTools-9.9.0-2304977.tar.gz](https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/7.1.0/2314774/packages/com.vmware.fusion.tools.linux.zip.tar) (VMware Fusion 7.1.0 \u0026 Workstation 11.0.0)\n* [VMwareTools-9.8.4-2202052.tar.gz](https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/7.0.1/2235595/packages/com.vmware.fusion.tools.linux.zip.tar) (VMware Fusion 7.0.1)\n* [VMwareTools-9.8.3-2075148.tar.gz](https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/7.0.0/2075534/packages/com.vmware.fusion.tools.linux.zip.tar) (VMware Fusion 7.0.0)\n* [VMwareTools-9.6.6-2649738.tar.gz](https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/6.0.6/2684343/packages/com.vmware.fusion.tools.linux.zip.tar) (VMware Fusion 6.0.6 \u0026 Workstation 10.0.5/6/7)\n* [VMwareTools-9.6.2-1688356.tar.gz](https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/6.0.3/1747349/packages/com.vmware.fusion.tools.linux.zip.tar) (VMware Fusion 6.0.3/4/5 \u0026 Workstation 10.0.2/3/4)\n* [VMwareTools-9.6.1-1378637.tar.gz](https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/6.0.2/1398658/packages/com.vmware.fusion.tools.linux.zip.tar) (VMware Fusion 6.0.2 \u0026 Workstation 10.0.1)\n* [VMwareTools-9.6.0-1294478.tar.gz](https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/6.0.1/1331545/packages/com.vmware.fusion.tools.linux.zip.tar) (VMware Fusion 6.0.0/1 \u0026 Workstation 10.0.0)\n* [VMwareTools-9.2.4-1398046.tar.gz](https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/5.0.5/1945692/packages/com.vmware.fusion.tools.linux.zip.tar) (VMware Fusion 5.0.5 \u0026 Workstation 9.0.3)\n* [VMwareTools-9.2.3-1031360.tar.gz](https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/5.0.4/1435862/packages/com.vmware.fusion.tools.linux.zip.tar) (VMware Fusion 5.0.4 \u0026 Workstation 9.0.2)\n\n## Encountering Failures\n\nIf one or more patches do not apply successfully, you may get an error during compilation, such as\n\n````\nvmhgfs-only/link.c:186:10: error: implicit declaration of function ‘vfs_readlink’ [-Werror=implicit-function-declaration]\n````\n\nThis indicates the `vmhgfs` kernel module failed to build and was not installed. That may be acceptable, as VMware Tools still installed successfully, but without the \"shared folder\" functionality provided by the `vmhgfs` module.\n\n## Required Patch Format\n\nPlease note your patches must contain only one directory name in them. For example, the following patches will work:\n\n````\n+--- vmhgfs-only/link.c.orig\t2014-04-23 10:11:34.891106441 +0100\n++++ vmhgfs-only/link.c\t2014-04-23 00:49:03.000000000 +0100\n````\nor\n````\n+--- vmhgfs-only.orig/link.c\t2014-04-23 10:11:34.891106441 +0100\n++++ vmhgfs-only/link.c\t2014-04-23 00:49:03.000000000 +0100\n````\nThe following patches will not work:\n\n````\n+--- link.c.orig\t2014-04-23 10:11:34.891106441 +0100\n++++ link.c\t2014-04-23 00:49:03.000000000 +0100\n````\nor\n````\n+--- path/to/vmhgfs-only/link.c.orig\t2014-04-23 10:11:34.891106441 +0100\n++++ path/to/vmhgfs-only/link.c\t2014-04-23 00:49:03.000000000 +0100\n````\n\n## Dependencies\n\nIf you use [download-tools.sh](../../blob/master/download-tools.sh), to download a VMware Tools file, the script will need the following installed:\n\n* sevenzip or sudo rights\n* unzip\n* wget\n* zip\n\nIf `apt-get` is installed on your system, the following packages will be installed when you first run [compile.sh](../../blob/master/compile.sh) or [untar-and-patch-and-compile.sh.sh](../../blob/master/untar-and-patch-and-compile.sh.sh):\n\n* linux-headers-$(uname -r)\n* build-essential\n* dkms\n* patch\n* perl\n* psmisc\n\nIf `yum` is installed on your system, the following packages will be installed when you first run [compile.sh](../../blob/master/compile.sh) or [untar-and-patch-and-compile.sh.sh](../../blob/master/untar-and-patch-and-compile.sh.sh):\n\n* gcc\n* glibc-headers \n* kernel-devel\n* kernel-headers \n* make \n* perl\n\nIf neither `apt-get` or `yum` is installed, you will need to install these (or equivalent) packages manually, before starting.\n\n## Contributing\n\nTo contribute to this project, please see [CONTRIBUTING.md](CONTRIBUTING.md).\n\n## Bugs\n\nTo view existing bugs, or report a new bug, please see [issues](../../issues).\n\n## Changelog\n\nTo view the version history for this project, please see [CHANGELOG.md](CHANGELOG.md).\n\n## License\n\nThis project is [MIT licensed](LICENSE).\n\n## Contact\n\nThis project was created and is maintained by [Ross Smith II][] [![endorse][endorse_png]][endorse]\n\nFeedback, suggestions, and enhancements are welcome.\n\n[Ross Smith II]: mailto:ross@smithii.com \"ross@smithii.com\"\n[flatter]: https://flattr.com/submit/auto?user_id=rasa\u0026url=https%3A%2F%2Fgithub.com%2Frasa%2Fvmware-tools-patches\n[flatter_png]: http://button.flattr.com/flattr-badge-large.png \"Flattr this\"\n[endorse]: https://coderwall.com/rasa\n[endorse_png]: https://api.coderwall.com/rasa/endorsecount.png \"endorse\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frasa%2Fvmware-tools-patches","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frasa%2Fvmware-tools-patches","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frasa%2Fvmware-tools-patches/lists"}