delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/03/18:37:44

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <4A26FB1D.1090806@bonhard.uklinux.net>
Date: Wed, 03 Jun 2009 23:37:17 +0100
From: Fergus <fergus AT bonhard DOT uklinux DOT net>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: Cygwin ML <cygwin AT cygwin DOT com>
CC: Fergus <fergus AT bonhard DOT uklinux DOT net>
Subject: Re: Can I install cygwin from my own setup.ini?
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

 > I only want to install the following modules:
 > bash
 > base-files
 > sed
 > gawk

The easiest way (that I know of, anyway) is to take the existing current 
setup.ini and insert these lines as the 1st entry under
   setup-timestamp:
   setup-version:
leaving the rest of setup.ini unaltered.

@ anynameyoulike
category: Base
requires: gawk sed
version: 8

(Use any number you like for version but you do need that line.)

Now setup "your" Cygwin using Default. This will install the Cygwin base 
setup (which includes bash and base-files along with other essentials) 
and also including your requirements gawk and sed (and any of their 
requirements).

I think you have to accept the Cygwin basic packages as imposed by the 
Default selection, though they are in fact more numerous than just bash 
and base-files.

HTH

Fergus

PS In general the entries following requires: in your inserted chunk can 
be as numerous as you likeor what it's worth I have

@ blahblah
category: Base
requires: bash-completion bc bison expect flex gcc ghostscript gv 
gnuplot hexedit make nano ncurses readline rxvt tcltk tetex-extra 
tetex-x11 util-linux vim xpdf xterm
version: 8

which leads to a Cygwin installation that *just* fits on to a CD but 
provides great functionality for technical authoring and text-processing.



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