delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/08/29/00:49:36

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:to:from:subject:message-id:date:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=Bp2
YQefK9wHBGVuY3OtB99WcWueeQvLMTkG36sQEaF+OkjYkYGVBq5Lv4enTj6iVXuu
n8j1Iez/qUMiMyJHGmLTMdd8HhLYMDBfeNa+/qLGaTgC1/xrnkQxjF9rzd7xLNWk
FPU9iEzPnsDPp8iaDX1Rwvu+KUeDfjGozwak/Fmo=
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:to:from:subject:message-id:date:mime-version
:content-type:content-transfer-encoding; s=default; bh=7JuyGTuLK
EZjjJfCjSgQmI7MCFI=; b=iF4JMyCm4TeqhMiQ3uK1VtJaDt+uU5FY1mG4zGbnx
+jN/QNk8KXHlK9JbLRy2EsiO4Ia2g99AkpQ9ofaFvmmvfHEG9N20uuU9bkcQp13y
KGBc0zkzo3VsAXxQ3lnSYmzWh8y3IiC7BNCsUJOXSD7CyE0d7XQbgH4xz+5eeYcp
jo=
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-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 spammy=reliance, installation, skeleton, defeat
X-HELO: nsstlmta34p.bpe.bigpond.com
To: cygwin AT cygwin DOT com
From: Shaddy Baddah <lithium-cygwin AT shaddybaddah DOT name>
Subject: Possible Cygwin setup regression with --prune-install
Message-ID: <158109b5-8d13-9e88-05b5-0eb581839e81@shaddybaddah.name>
Date: Thu, 29 Aug 2019 14:48:10 +1000
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0
MIME-Version: 1.0
X-IsSubscribed: yes

Hi,

I have a use-case for Cygwin setup, which I admit will seem strange,
whereby I want it to do an "Install" with no packages selected at all.
ie., just setup a "skeleton" of a Cygwin install. I value it, because
based my own experience with the Cygwin setup code, it seems to
"bootstrap" the Cygwin root directory, using only the Win32api, without
a reliance of a Cygwin DLL at the early stage.

I note that the last Cygwin setup enhanced the handling of dependencies
greatly. I have nothing but praise for that change, setup is definitely
much more modern and stable now.

Previous to this change, I could achieve the "skeleton" install by
choosing the totally new Cygwin root to install to, and selecting "Keep"
so that no package were selected.

With the new setup, even if I select "Keep", with no packages selected,
the tight dependency checking will autoselect all the "base" packages,
after clicking next.

I don't even question that there would be a good rationale to this. But
I considered that since this is a very niche thing I do, I should
explore my own workaround. So I looked into the other command-line
options, and noticed this one:

  -Y --prune-install                Prune the installation to only the 
requested
                                    packages 


My reading of that is that this should defeat any packages from being
(automatically added). However, even with this option, the base packages
are still autoselected.

Admittedly, I didn't try this with Cygwin setup from before the
redesign, so it may not classify as a regression on the command-line
option.

But can someone talk to what --prune-install is exactly supposed to do?
And can any consideration be given to a "skeleton/template" install?

-- 
Regards,
Shaddy

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