From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7374 invoked by alias); 3 Nov 2014 22:04:31 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 7361 invoked by uid 89); 3 Nov 2014 22:04:30 -0000 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 Received: from limerock03.mail.cornell.edu (HELO limerock03.mail.cornell.edu) (128.84.13.243) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 03 Nov 2014 22:04:29 +0000 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite3.serverfarm.cornell.edu [10.16.197.8]) by limerock03.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id sA3M4RIK011797 for ; Mon, 3 Nov 2014 17:04:27 -0500 Received: from [172.160.101.209] (50-192-26-106-static.hfc.comcastbusiness.net [50.192.26.106]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id sA3M4QBA006086 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Mon, 3 Nov 2014 17:04:26 -0500 Message-ID: <5457FBDD.4050408@cornell.edu> Date: Mon, 03 Nov 2014 22:04:00 -0000 From: Ken Brown 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 X-SW-Source: 2014-11/txt/msg00039.txt.bz2 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