Mail Archives: cygwin/2011/09/09/21:27:43
On Fri, Sep 09, 2011 at 04:34:53PM -0400, Buchbinder, Barry (NIH/NIAID) [E] wrote:
>Christopher Faylor sent the following at Friday, September 09, 2011 4:32 PM
>>On Fri, Sep 09, 2011 at 01:26:27PM -0600, Warren Young wrote:
>>>On 9/9/2011 7:52 AM, Andrew Schulman wrote:
>>>> Here's what mine looks like:
>>>>
>>>> setup.exe ^
>>>> --no-shortcuts ^
>>>> --quiet-mode ^
>>>> --disable-buggy-antivirus ^
>>>> --packages ^
>>>> aria2,^
>>>> atool,^
>>>> autoconf,^
>>>> automake,^
>>>> autossh,^
>>>
>>>Step 2: A script that can write out such a script to clone an existing
>>>installation. Just translate the contents of /etc/setup/installed.db
>>>to the form --packages wants.
>>
>>>Step 3: Modify the script to find the last-used setup.ini (registry?),
>>>put the packages there into a dependency graph, then compute the
>>>minimum set of packages needed to clone the installation.
>>
>>I was thinking about that too. Don't you get into potential trouble
>>when dealing with packages whose name also reflects their version like
>>libncurses?
>>>No, I am not volunteering. :)
>>
>>I might volunteer. This has come up often enough that it seems like it
>>would be a useful thing to have.
>
>The following will make the package list.
>
>$ sed -e '1d' -e 's/ .*$//' -e 's/$/,^/' /etc/setup/installed.db
>
>I do not think that you need Step 3. I believe that setup will not
>download or installed twice duplicates generated by package
>dependencies.
I know (obviously?) how to make a package list. That is the easy part.
cgf
--
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 -