代码拉取完成,页面将自动刷新
#!/bin/bash
# This file can be grabbed via wget/curl to bootstrap the repo
# A really handy place to use this bootstrap would be Packer
set -e
if [[ -n "$(type -P apt-get)" ]]; then
# Debian and derivatives
apt-get install -y git
elif [[ -n "$(type -P yum)" ]]; then
# Fedora, CentOS or RHEL and derivatives
yum -y install git
elif [[ -n "$(type -P zypper)" ]]; then
# openSUSE
zypper --non-interactive install git
elif [[ -n "$(type -P pacman )" ]]; then
pacman -S --needed --noconfirm git
fi
# This is fragile, it needs updated depending on the branch/fork you want to run
git clone https://github.com/rasa/vmware-tools-patches.git
cd vmware-tools-patches
# Sourcing the setup script gets the dependencies we really need,
# so that we don't have to lay them all out here and we could uninstall them
# when we are done with them post compile
. ./setup.sh
./download-tools.sh latest
./untar-and-patch.sh
./compile.sh
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。