Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion after-install script for non-directory source?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Howard Jones  
View profile  
 More options Nov 13 2012, 9:19 am
From: Howard Jones <howard.jo...@gmail.com>
Date: Tue, 13 Nov 2012 06:19:31 -0800 (PST)
Local: Tues, Nov 13 2012 9:19 am
Subject: after-install script for non-directory source?

I'm just trying to get to grips with fpm as a quick&dirty way to install
VMware Tools in new VMs running Ubuntu, without having to do the little
dance with a virtual CD.

So, I have the .tar.gz file off of VMware's disk image, and I want to have
the package unpack into /opt/vmware-tools-dist and then run VMware's
install script.

My first attempt is:
  fpm -s tar -t deb -n "vmware-tools-dist" -v 8.3.2-257589 --prefix /opt
--after-install vmware-tools-install.sh VMwareTools-8.3.2-257589.tar.gz
where vmware-tools-install.sh is a one-line shell script with the correct
command-line for the installer: "/opt/vmware-tools-dist/vmware-install.pl
-d"

As far as I can see, fpm doesn't add my script to the .deb, and I know that
whatever filename I give it has to exist at the time the package is being
created, so it can't be the installer inside the tar - so what IS the right
way to run that install script? Or how can I add my file in addition to the
contents of the tar?

Sorry if this is a very newbie kind of question, but there's not much
information about the pre/post install script stuff, that I could see...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.