Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "Ross Smith II" To: "Laurynas Biveinis" Cc: Subject: RE: Burning cygwin distribution CDs Date: Fri, 27 Dec 2002 07:53:09 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal In-Reply-To: <3E0C5309.7090809@mif.vu.lt> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal > From: Laurynas Biveinis > > I want to burn CDs with full cygwin distribution with sources and so on. > I've downloaded everything from > ftp://ftp.gwdg.de/pub/linux/sources.redhat/cygwin/release, but it takes > almost 1 GB. How should I burn it into 2 CDs so that setup.exe still > works correctly? What directory layout should I use? Laurynas, I fit everything I need on 1 CD, by not including the /xfree directory (370MB), the /release/XFree86 directory (80MB), and not including the [prev] and [test] packages listed in setup.ini: #!/usr/bin/perl -w use strict; my $dir = shift || '/hdc1/cygwin'; my $file = $dir . '/setup.ini'; open(FH, $file) || die "Can't open $file: $!"; my $prev = 0; my $line = 0; while () { $line++; if (/\[prev\]/ || /\[test\]/) { $prev++; next; } next unless $prev; if (/^\s*$/) { $prev = 0; next; } if (/^\w+:\s*(\S+)\s+/) { $_ = $1; next unless m|/|; $file = $dir . '/' . $_; if (-e $file) { print "deleting $file\n"; unlink($file); } } } Hope that helps, Ross -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/