delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/07/28/17:49:06

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Mon, 28 Jul 2008 17:48:42 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Download Cygwin once and intall it several times
Message-ID: <20080728214842.GB7646@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <f9c8c1cc0807280312s7ece19ch4183e1a5ab513227 AT mail DOT gmail DOT com> <488DF749 DOT D61CBD8C AT dessent DOT net> <032d01c8f0d3$3daf6650$9601a8c0 AT CAM DOT ARTIMI DOT COM> <ff8e9dfe0807281359r5acc42f1tc65466f55f3f72c5 AT mail DOT gmail DOT com> <20080728211557 DOT GA7646 AT ednor DOT casa DOT cgf DOT cx> <488E3FF7 DOT 8000907 AT bmts DOT com>
MIME-Version: 1.0
In-Reply-To: <488E3FF7.8000907@bmts.com>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Mon, Jul 28, 2008 at 05:53:59PM -0400, Ralph Hempel wrote:
> Christopher Faylor wrote:
>
>> For the time being, you should be able to dump the mount table to a .bat
>> file with "mount -m" and then run the .bat on the system that has the
>> copied installation.
>> This technique probably won't work in Cygwin 1.7.x when it is released,
>> though.
>
> Funny enough, this is the kind of problem that is solved by being able
> to run the Cygwin setup from the command line.
>
> On my own system, I keep a downloaded repository in a special folder that 
> is shared read-only with other computers on the network.
>
> When I want to roll out my standard Cygwin install on other machines,
> which may be vmWare machines or other developer's machines, I just
> give them my specially patched setup.exe that accepts package names
> and a batch file that runs setup and requests the packages needed for
> a clean install plus a few extra packages.
>
> Run the batch file, and presto, each developer has the same basic set of
> packages without monkeying around with the GUI.

Or you could just copy the contents of c:\cygwin and use "mount -m" as I
mentioned.  The only thing this doesn't do is duplicate service entries
but that doesn't happen when you use setup.exe either.

I guess it's possible that running setup to do a full install might take
less time than a copy of c:\cygwin but I'll bet it takes longer to
run setup.exe and run all of the postinstall scripts than it does
to just copy c:\cygwin over the network.

Using setup.exe for this task makes me think that people believe
setup.exe is doing something mysterious.  It really isn't.  Even if you
wanted to go to the effort of unpacking tar.bz2 files you could still do
it all with bash, tar, and mount, avoiding setup.exe entirely.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019