www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/09/10/00:46:59

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Andrew Schulman <schulman DOT andrew AT epamail DOT epa DOT gov>
Subject: Re: automated cygwin install
Date: Sat, 10 Sep 2011 00:46:14 -0400
Lines: 27
Message-ID: <caql67tgao79noecvhbr6f55615j2sn0gv@4ax.com>
References: <6p4k675lc62jj9ngemb18v2h94mpnjcpsu AT 4ax DOT com> <4E6A6863 DOT 2030600 AT etr-usa DOT com>
Mime-Version: 1.0
X-Archive: encrypt
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

> > setup.exe ^
> > --no-shortcuts ^
> > --quiet-mode ^
> > --disable-buggy-antivirus ^
> > --packages ^
> > aria2,^
> > atool,^
> > autoconf,^
> > automake,^
> > autossh,^
> 
> Step 2: A script that can write out such a script to clone an existing 
> installation.  Just translate the contents of /etc/setup/installed.db to 
> the form --packages wants.
> 
> Step 3: Modify the script to find the last-used setup.ini (registry?), 
> put the packages there into a dependency graph, then compute the minimum 
> set of packages needed to clone the installation.

It's a good idea.  As I think about a tool that would write such a script, and
how it would work, it seems to me that the right tool for it would be setup.exe
itself.  Imagine if, besides the current 3 modes of operation (Download,
Install, and Download and Install), there were a 4th mode:  Write setup script.
The user could then go through the list of packages as usual, selecting the ones
s/he wanted.  At the end, instead of installing Cygwin, setup would just emit
the script, which the user could then immediately run on that host or any other
host.


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

- Raw text -


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