delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/06/20/15:26:35

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <485C044A.6010607@free.fr>
Date: Fri, 20 Jun 2008 21:26:02 +0200
From: cuicui <cuicui DOT oizo AT free DOT fr>
User-Agent: Thunderbird 2.0.0.12 (X11/20080213)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: setup.exe command line parameters
References: <485C0309 DOT 7080404 AT bmts DOT com>
In-Reply-To: <485C0309.7080404@bmts.com>
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

Ralph Hempel a écrit :
> With all of the talk about setup package selection and install
> procedures, I have a little story.
> 
> One of the things I do for fun is write replacement firmware for the
> LEGO MINDSTORMS NXT - specifically pbLua. I needed an easy way to
> build the ARM7 cross compiler, and to locate and program the NXT via
> libusb.
> 
> More importantly, I needed to share how to build it, which I have not
> yet done.
> 
> Long story short, I ended up using a hacked older version of
> setup.exe that accepted a -p parameter and a list of packages. It
> worked great!
> 
> Is there a compelling reason why that patch can't be applied to the 
> current setup and released? Are there security or stability issues 
> I'm not thinking about?
> 
> That being said, I CAN run setup.exe in unattended quiet mode and get
> a BASE cygwin install done, and I'm quite happy with that. But I'd
> really, really like to specify packages on the command line.
> 
> Can I help by offering to update the patch to the current setup?

You need to modify the "setup.ini" file, create "virtual" (empty)
package that belongs to the "Base" category and make all the additional
packages you want dependant of this virtual package by filling the
"requires" field.

That's a known-working workaround i'm using for quite a long time.

All the best,

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