delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/11/03/17:04:46

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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
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 AT cornell DOT 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 AT cygwin DOT com
Subject: Re: Setup 2.774 texlive postinstall takes 10+ hours
References: <1413844739487-112040 DOT post AT n5 DOT nabble DOT com> <5445C04A DOT 3000407 AT cornell DOT edu> <1413864414772-112047 DOT post AT n5 DOT nabble DOT com> <54465853 DOT 3040000 AT cornell DOT edu> <1414134682090-112141 DOT post AT n5 DOT nabble DOT com> <24713230 DOT 20141024153002 AT yandex DOT ru> <1414559159086-112282 DOT post AT n5 DOT nabble DOT com> <319337147 DOT 20141029151332 AT yandex DOT ru> <1414708038168-112334 DOT post AT n5 DOT nabble DOT com> <54567198 DOT 8000504 AT cornell DOT edu> <20141103102515 DOT GS14051 AT calimero DOT vinschen DOT de> <87a948kvpw DOT fsf AT Rainer DOT invalid>
In-Reply-To: <87a948kvpw.fsf@Rainer.invalid>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019