delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/04/06/17:32:12

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,SPF_HELO_PASS,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <4BBBA82B.2060202@free.fr>
Date: Tue, 06 Apr 2010 23:31:23 +0200
From: Nicolas <cuicui DOT oizo AT free DOT fr>
User-Agent: Thunderbird 2.0.0.24 (X11/20100317)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin 1.7 deployment : disabling MD5 check?
References: <4B8693FA DOT 90009 AT univ-paris1 DOT fr> <4B86D30A DOT 2020002 AT gmail DOT com>
In-Reply-To: <4B86D30A.2020002@gmail.com>
X-up1-MailScanner-Information: Please contact crir .at. univ-paris1.fr for more information
X-up1-MailScanner: Found to be clean
X-up1-MailScanner-From: cuicui DOT oizo AT free DOT fr
X-IsSubscribed: yes
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

Dave Korn a écrit :

>> I'm on the edge of massively deploying Cygwin 1.7 from Cygwin 1.5
>> (+400 workstations), and I'm concerned about the time setup.exe
>> takes to verify MD5 packages signature.
>> 
>> When the repository is a remote SaMBa share, it looks that
>> setup.exe download all packages one time to check the signature and
>> another time to install the package.
>> 
>> Is there a possibly to disable this check? As a workaround, I can 
>> silently synchronize the repository on the local drive and
>> launching the setup from there, but it's more complicated that
>> using a single repository on the network.
> 
> There's no command-line option for it - yet.  (And I'm not really
> sure if there should be in general, either.  I'm already
> uncomfortable about the mere existence of the -X option, but I had to
> be practical about it.)
> 
> For situations like this, I'd recommend building and distributing
> internally a custom version of setup.exe anyway, so that you can edit
> IDS_MIRROR_LST and point it to your own internal mirror with its own
> mirrors.lst with just a single entry pointing straight back at
> itself, and avoid any confused users trying to install from an
> external mirror by accident.
> 
> So if you're happy with hacking the code about, just delete all the
> contents of the md5_one() function at the end of install.cc.  Or you
> could try the attached patch if you want a command-line option for
> it.  Builds OK but not tested yet.

I finally didn't change the setup.exe and I just rsynced the content of
the repository (which is about 75MB) before upgrading from the local
hard drive and it's way faster than installing directly from a network
share.

No problem to upgrade from 1.5.x to 1.7.x hundreds of installations of
Cygwin : no script breaker, no weird workaround (besides the slow MD5
verification but it's not specific to the version change), I just had to
properly set LANG and CYGWIN environment variables and that was it. Great.

Nicolas

-- 
Ce message a ete verifie par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a ete trouve.


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