delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
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 |
Subject: | Re: Pre-select packages for downloading by others |
From: | fergus <fergus AT bonhard DOT uklinux DOT net> |
Reply-To: | fergus AT bonhard DOT uklinux DOT net |
To: | cygwin AT cygwin DOT com |
Cc: | fergus AT bonhard DOT uklinux DOT net |
Message-Id: | <1105387912.2431.18.camel@82-40-123-11.cable.ubr01.pert.blueyonder.co.uk> |
Mime-Version: | 1.0 |
Date: | Mon, 10 Jan 2005 20:11:56 +0000 |
X-OriginalArrivalTime: | 10 Jan 2005 20:12:27.0733 (UTC) FILETIME=[B4E16050:01C4F750] |
Make a ground-up Cygwin installation using precisely those packages you wish to recommend for others, and then grab the file /etc/setup/installed.db Or, edit a copy of your existing version of this file to similarly contain only those packages that you wish to recommend. It will contain lines like rxvt rxvt-3.2-1.tar.bz2 0 tar tar-1.4-6.tar.bz2 0 Hand edit it so that all the lines look like this instead: rxvt rxvt-0.tar.bz2 0 tar tar-0.tar.bz2 0 (i.e. setting all version numbers to 0) or use a sed command line like this sed -i 's/^\(.*\) \(.*\) \(.*\)$/\1 \1-0.tar.bz2 0/' installed.db (all 3 lines as one line) to achieve the same thing. Then create a directory as follows containing only the one file you have just created c:\Cygwin\etc\setup\installed.db If you then run Cygwin setup from scratch, installing into c:\Cygwin\, it will update all those files, and only those files, listed in your "special" installed.db (because it updates the version number 0 to the current provision). (If you want to install your recommended system elsewhere than c:\Cygwin, locate your special file installed.db accordingly.) Fergus -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |