This is the mail archive of the
mailing list for the Cygwin project.
Re: how to automatically install all local packages
- From: Brian Dessent <brian at dessent dot net>
- To: cygwin-apps at cygwin dot com
- Date: Sat, 14 May 2005 00:38:12 -0700
- Subject: Re: how to automatically install all local packages
- References: <428396DB.firstname.lastname@example.org>
Tod Courtney wrote:
> I can use the command line flags to specify a local install from my
> installation directory (-L), and the location where cygwin shuld be
> installed (-R). And I can specify that cygwin be installed without all of
> the prompts and interactive options (-q). But I do not know how to change
> the package chooser from 'default' to 'install', so that all the packages in
> my installation directory are automatically installed.
> Please let me know if there is a way to force cygwin to install all packages
> in the local package directory. Ideally a command line option to change the
I don't think there's any way to do this directly. It's been requested
before the ability to specify on the command line certain packages to
install, and I think that would be a useful feature to have for people
in your situation.
You might be able to kludge it though. If you provided an
/etc/setup/installed.db that listed each desired package with a version
of '0', then setup should see that the package is already installed and
try to upgrade it to the current available version. E.g. place a line
"foo foo-0-0.tar.bz2 0" for each package that you wish to be 'upgraded'
(i.e. installed.) If there are no mounts on the system, though, I'm not
sure if setup will know where to find /etc/setup/, so you might have to
add the mounts before running setup. Since you already know the
location where Cygwin will be installed, that should be feasible.