This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Installing cygwin by manually copying c:\cygwin to another machine


Brett Serkez wrote:
My question is:  what are the settings required by cygwin to
operate normally?   (  i guess it needs some environment variables
and/or registry settings ).


Is it just the mount points that are the issue?  The path?  The
desktop icon?  It is possible to run setup against such an
'installation' to update it?

It's primarily just the mount points. See Corinna's message in this thread for recreating them.

The desktop & start menu icons are obviously not going to be present
with this method, but that's not really an issue.
It should be noted that cygwin.bat has a full path in it, so this would
need editing.

Yes, you could run setup with this - it is, for all intents and
purposes, the installation you made with setup on the other machine.
Setup doesn't care that it's now on a different machine. None of what it
does is machine-specific.


On a related note, it is possible to 'prime' setup with additional packages to select by default. That is whenever I install cygwin,
there are about 1/2 dozen packages I always manually select, it would
be helpful to have an automated way to doing this.



Quoting Igor Peshansky:


"I've posted this recipe a few times already: create an empty package on
your own server, put it in the "Base" category (which is what "setup.exe" selects by default on new installs), and make that package depend on the packages you want installed. You'll need to create a custom setup.ini file (see <http://sourceware.org/cygwin-apps/package-server.html>), but
don't need to create a full-fledged mirror (i.e., having the users select both your mirror and some other mirror will also work)."




Chris
--

Spinning complacently in the darkness, covered and blinded by a blanket
of little lives, false security has lulled the madness of this world
into a slumber. Wake up! An eye is upon you, staring straight down and
keenly through, seeing all that you are and everything that you will
never be. Yes, an eye is upon you, an eye ready to blink. So face
forward, with arms wide open and mind reeling. Your future has
arrived... Are you ready to go?

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]