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:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 q=dns; s=default; b=w1MO/plISgxHGvkBJzFiflc8C7Nsr/TxbdfeqJAZLpz
	jopmURAAtLEpzkb6ckakclCvvbpCCt4i/eaQbvQtH/FHTmGRq3I7vfkZ4u+rgucV
	F7PUKxNJm+c1o2ei3I6L7SVdtzdOCp6/uL/YfuiAVvj8tEyouuBgKKsfydjYh06U
	=
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:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 s=default; bh=+SGAm4OIQhKqwfmbly37dQruhSM=; b=qvFqQE2Fp+nEA0mXx
	qItdrraTxFSWnIyTvhPhaKt3TaCa2aLD3V7wmCY4+hy9i8h1nlaHoc3kPohBOYHR
	zAn2z5+Jh1QpFTokt1ZwPsEav12EMwEYFzefcX1VklOc9VHIijmZVJTf3P7/lvtH
	VM3PppYxzZyLFWhJ9fsGy9yHA8=
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=-2.1 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2
X-HELO: limerock03.mail.cornell.edu
X-CornellRouted: This message has been Routed already.
Message-ID: <5457FBDD.4050408@cornell.edu>
Date: Mon, 03 Nov 2014 17:04:13 -0500
From: Ken Brown <kbrown@cornell.edu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
MIME-Version: 1.0
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> <87a948kvpw.fsf@Rainer.invalid>
In-Reply-To: <87a948kvpw.fsf@Rainer.invalid>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes



On 11/3/2014 1:03 PM, Achim Gratz wrote:
> 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.

That's now what I see here, unless I'm badly confused about what POSIX sort 
order is.  I did an update a few days ago in which the postinstall scripts were 
run in the following order:

update-info-dir.sh
autorebase.bat
wget.sh

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

Ken

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

