This is the mail archive of the
mailing list for the Cygwin project.
Re: postinstall w/dependencies snapshot.
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Robert Collins <rbcollins at cygwin dot com>
- Cc: cygwin-apps at cygwin dot com
- Date: Sat, 22 Mar 2003 20:04:01 -0500 (EST)
- Subject: Re: postinstall w/dependencies snapshot.
- Reply-to: cygwin-apps at cygwin dot com
On 23 Mar 2003, Robert Collins wrote:
> On Sun, 2003-03-23 at 03:50, Igor Pechtchanski wrote:
> > On 18 Mar 2003, Robert Collins wrote:
> > > I've uploaded a new snapshot with the new postinstall dependency order
> > > logic.
> > >
> > > Enjoy.
> > >
> > > A big thanks to Igor, for providing both the concept and the impetus :}.
> > > Rob
> > Rob,
> > Thanks for the thanks. :-)
> > I'm assuming this makes the "setup postinstall ordering" patch obsolete?
> > Or does it still have some functionality you'd like to have in setup?
> > Igor
> Well IMO yes it's obsolete. As I originally said, I consider the package
> dependency ordering solution both the permanent and sufficient solution.
> I always considered script dependencies short term, but if there are
> still issues (now that the package dependency solution is 'doing the
> right thing') I'm happy to discussion addressing that by either script
> depends or tweaks to the package ordering....
Did we solve the issue of update_info_dir being run last? Otherwise, I
don't think there are any outstanding issues.
> I had a brain storm BTW:
> my shells not great, but this should give the idea
> if [test -e /etc/postinstall/myprerequisite.sh]
> /bin/sh /etc/postinstall/myprerequisite.sh
> mv /etc/postinstall/myprerequisite.sh
> I'm not sure whether this is good or bad... :}.
Bad, IMO. Hard to parse, and duplicates setup.exe's functionality.
I now agree that the idea of using package dependences for everything is
better than putting dependences inside the scripts themselves. There are
two things dependences are used for: pulling the needed packages in, and
running postinstall scripts. We somehow need to reconcile them.
|\ _,,,---,,_ pechtcha at cs dot nyu dot edu
ZZZzz /,`.-'`' -. ;-;;,_ igor at watson dot ibm dot com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!