Skip to content

Commit 1104212

Browse files
committed
appliance: only build-essential needed to build vmtools
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
1 parent 2669515 commit 1104212

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎tools/appliance/definitions/systemvmtemplate/postinstall.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ install_packages() {
6666
# vmware tools
6767
# uncomment for opensource vmware tool:
6868
# apt-get --no-install-recommends -q -y --force-yes install open-vm-tools
69-
apt-get --no-install-recommends -q -y --force-yes install build-essential gcc linux-headers-`uname -r`
69+
apt-get --no-install-recommends -q -y --force-yes install build-essential linux-headers-`uname -r`
7070
df -h
7171
PREVDIR=$PWD
7272
cd /opt
@@ -77,7 +77,7 @@ install_packages() {
7777
./vmware-install.pl -d
7878
cd $PREV
7979
rm -fr /opt/vmware-tools-distrib
80-
apt-get -q -y --force-yes purge build-essential gcc
80+
apt-get -q -y --force-yes purge build-essential
8181
}
8282

8383
setup_accounts() {

‎tools/appliance/definitions/systemvmtemplate64/postinstall.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ install_packages() {
6666
# vmware tools
6767
# uncomment for opensource vmware tool:
6868
# apt-get --no-install-recommends -q -y --force-yes install open-vm-tools
69-
apt-get --no-install-recommends -q -y --force-yes install build-essential gcc linux-headers-`uname -r`
69+
apt-get --no-install-recommends -q -y --force-yes install build-essential linux-headers-`uname -r`
7070
df -h
7171
PREVDIR=$PWD
7272
cd /opt
@@ -77,7 +77,7 @@ install_packages() {
7777
./vmware-install.pl -d
7878
cd $PREV
7979
rm -fr /opt/vmware-tools-distrib
80-
apt-get -q -y --force-yes purge build-essential gcc
80+
apt-get -q -y --force-yes purge build-essential
8181
}
8282

8383
setup_accounts() {

0 commit comments

Comments
 (0)