X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:to:subject:references:date:in-reply-to
	:message-id:mime-version:content-type; q=dns; s=default; b=vAkcU
	JT0HJUYYOskW3bgeai8ht7h3MdOD1S+PymRuZ/4hbLbrnyawPF2fL+fIEUMJ8vwV
	wdecU8Qus9D16nF2eCuEWXH1E9Ci7wVNYu4k3SkjI2b94sQqEh1SX9ny1XNy9Mbu
	XTyGSsiQ7FBRAFaQ3jtbMk0rakCftNWAHGb4e4=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:to:subject:references:date:in-reply-to
	:message-id:mime-version:content-type; s=default; bh=/3/jePmwfhi
	hnKHZf+8MoVMnjUE=; b=ICM4wKTyT3eg6dyV0YHYUOmvHbWONrxk14eSteu5hjm
	C4u+XZkLvzYt3d6G5BbSXYqdlkmQVLIrLgbJwTYYqeX4oSW0j16iA8VPQo3UbhRL
	BzvTUjS0jSrIg4d79kRxwnqW4CCemLKPkGaHWZLM5IJrcMavN5eYwEVLJFqZYs1g
	=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPAM_URI,SPF_PASS autolearn=no version=3.3.2
X-HELO: mail-in-04.arcor-online.net
X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-17.arcor-online.net 72AAFCBC55
From: Achim Gratz <Stromeko@nexgo.de>
To: cygwin@cygwin.com
Subject: Re: Setup 2.774 texlive postinstall takes 10+ hours
References: <1413844739487-112040.post@n5.nabble.com>	<5445C04A.3000407@cornell.edu>	<1413864414772-112047.post@n5.nabble.com>	<54465853.3040000@cornell.edu>	<1414134682090-112141.post@n5.nabble.com>	<24713230.20141024153002@yandex.ru>	<1414559159086-112282.post@n5.nabble.com>	<319337147.20141029151332@yandex.ru>	<1414708038168-112334.post@n5.nabble.com>	<54567198.8000504@cornell.edu>	<20141103102515.GS14051@calimero.vinschen.de>
Date: Mon, 03 Nov 2014 19:03:23 +0100
In-Reply-To: <20141103102515.GS14051@calimero.vinschen.de> (Corinna Vinschen's	message of "Mon, 3 Nov 2014 11:25:15 +0100")
Message-ID: <87a948kvpw.fsf@Rainer.invalid>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain

Corinna Vinschen writes:
> Off the top of my head I don't know how hard that would be, but it
> doesn't sound like an especially bad idea to me.  Au contraire.

It should be quite easy since the postinstall scripts are run in POSIX
sort order.  Just give the script a name like 00001_autorebase.bat and
it should always be the first one that runs.

> One thing we could test is if we can't get away without tweaking
> setup.exe, by changing the dependencies only.  Right now _autorebase
> requires rebase and dash packages.  Both are in Base anyway, but they
> pull in more dependencies which result in something like a rat tail of
> dependencies.  So I'm wondering if tweaking _autorebase' setup.hint file
> like this:

Dependencies are not evaluated at all when installing or running
scripts.

But it would really be better to use triggers for these sort of scripts.
I have something implemented for my "perpetual" postinstall that does an
incremental rebase after each setup run, but it could be extended to be
controlled by setup.ini instead of a naming convention.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

DIY Stuff:
http://Synth.Stromeko.net/DIY.html

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

