delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/10/03/21:56:34

X-Spam-Check-By: sourceware.org
Message-ID: <452314B5.8020008@princeton.edu>
Date: Tue, 03 Oct 2006 21:56:05 -0400
From: Vinod Gupta <vinod AT Princeton DOT EDU>
User-Agent: Thunderbird 1.5.0.7 (Windows/20060909)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Un-attended install ALL
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

> Vinod Gupta wrote:
>
>         Vinod K Gupta wrote:
>
>             We have a local mirror of selected packages from which we
>             install cygwin on
>             user machines. When we perform un-attended installation
>             using setup.exe -q
>             -L -l -R... the installer installs only the Base packages.
>             How can we tell
>             setup to install ALL available packages? 
>
>
>         Lary Hall wrote:
>         There are many ways but the easiest is to create a setup.hint file
>         with an empty package that's part of the Base category. Then
>         list all the
>         packages you want to install as its dependencies. Obviously,
>         you can leave
>         out other base packages. Voila! :-)
>
>
>     Thanks Lary,
>
>     I am not sure what you mean by "empty package" and how do you make
>     it known to the installer?
>     If I create a setup.hint and copy it to, say, release\base-files\,
>     will that work?
>     This sounds like fooling the installer. I can't believe that there
>     is nothing like "--InstallAll" option to the setup.exe installer. 
>
>
>
> Lary Hall wrote:
> Fooling the installer into believing there is another package to install?
> Yes, that should be outlawed. ;-)
>
> Whatever you want to call it, this is the way to do it. See:
>
> <http://sources.redhat.com/cygwin-apps/package-server.html>
>
> if you haven't already.

I tried but failed :(
I create allpackage as per instructions, here are contents:

# cd <mymirror>
# ls -l release/allpackage/
total 1.0K
-rwxr-xr-x  1 vinod   0 2006-10-03 15:39 allpackage-0.0.1-1-src.tar.bz2
-rwxr-xr-x  1 vinod   0 2006-10-03 15:39 allpackage-0.0.1-1.tar.bz2
-rwxr-xr-x  1 vinod 650 2006-10-03 15:45 setup.hint

# cat release/allpackage/setup.hint
@ allpackage
sdesc: "Dummy package to include all my non-Base packages"
ldesc: "Dummy package to include all my non-Base packages"
category: Base
requires: X11 _update-info-dir alternatives ash base-files base-passwd 
bash binutils bzip2 cabextract coreutils crypt cygrunsrv cygutils cygwin 
cygwin-doc d db diffutils editrights expat file findutils gawk gcc 
gcc-mingw gdb gdbm gettext grep groff gzip jpeg less libiconv libpng 
login make man mingw-runtime minires mktemp ncurses openssh openssl pcre 
perl pine ping pkg-config pkgconfig popt readline run sed sharutils tar 
tcltk tcsh termcap terminfo texinfo time tnef unzip w32api wget which 
zip zlib

# bunzip setup.bz2
# cat setup

# This file is automatically generated.  If you edit it, your
# edits will be discarded next time the file is generated.
# See http://cygwin.com/setup.html for details.
#

Installer still installs only the Base packages.
I thought genini did not generate good setup. I copied 
release/allpackage to <main>/release/ and added contents of above 
setup.hint to <main>/release/setup.ini

Installer still installs only the Base packages :(

What I am doing wrong?

Vinod

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