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://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
From: | "Ross Smith II" <ross AT smithii DOT com> |
To: | "Laurynas Biveinis" <laurynas DOT biveinis AT mif DOT vu DOT lt> |
Cc: | <cygwin AT cygwin DOT com> |
Subject: | RE: Burning cygwin distribution CDs |
Date: | Fri, 27 Dec 2002 07:53:09 -0800 |
Message-ID: | <NDBBJINIMKJKPGEBBJLKCEKLFGAA.ross@smithii.com> |
MIME-Version: | 1.0 |
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 (<FH>) { $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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |