delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/07/06/07:47:13

X-Spam-Check-By: sourceware.org
Message-ID: <468E2BA8.1040607@free.fr>
Date: Fri, 06 Jul 2007 13:46:48 +0200
From: cuicui <cuicui DOT oizo AT free DOT fr>
User-Agent: Thunderbird 2.0.0.4 (X11/20070604)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Problem with setup.exe
References: <86odirkru4 DOT fsf AT lola DOT quinscape DOT zz>
In-Reply-To: <86odirkru4.fsf@lola.quinscape.zz>
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

David Kastrup a écrit :
> Hi,
> 
> I have downloaded and non-installed a number of packages.  Now I call
> setup.exe in a batch file with
> 
> setup -n -N -d -A -L -q -R %CYGWIN_HOME%
> 
> and this works in that it installs what is cached in the local
> directory, but!!! just the default minimal selection, not what I have
> additionally selected and fetched using setup.exe.
> 
> Since this is part of an automated installation procedure, this is
> quite a nuisance.  Is there any way to tell setup.exe what else to
> install when it _is_ already cached?

Hi,

Just add a "virtual" package in your setup.ini in the "Base" category
that depends on the packages you need.

I think there is no way to tell Cygwin to install "every packages in the
local directory" on the command-line mode.

Be careful, the setup.ini is erased with a fresh one each time you
launch "install from internet".

Here is mine:

@ bidon
sdesc: "Paquet bidon."
category: Base
requires: unzip zip gawk gzip tar sed ed vim perl python email mutt lftp
openssh rsync less bzip2 wget patch cadaver autossh stunnel curl a2ps
cron file ioperm lynx nano patchutils psutils shutdown tcp_wrappers time
util-linux whois pcre ping zsh psmisc procps
version: 0.0.1-1
source: ...

You'll have to create the "source:" line with the size in byte and the
md5sum of a "fake" package, in my example
"release/bidon/bidon-0.0.1-1.tar.bz2". It has to be a real file because
setup.exe checks the md5 signature during the parsing of setup.ini.

Nicolas


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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