Skip to Content.
Sympa Menu

sm-grimoire - Re: [SM-Grimoire]Auto rebuilding dependent spells

sm-grimoire AT lists.ibiblio.org

Subject: Discussion of Spells and Grimoire items

List archive

Chronological Thread  
  • From: Dufflebunk <dufflebunk AT dufflebunk.homeip.net>
  • To: Casey Harkins <charkins AT upl.cs.wisc.edu>
  • Cc: "Sergey A. Lipnevich" <sergeyli AT pisem.net>, sm-grimoire AT lists.ibiblio.org
  • Subject: Re: [SM-Grimoire]Auto rebuilding dependent spells
  • Date: 05 Aug 2002 17:41:26 -0400

Most dependants don't need to be rebuilt. They either run a binary
that
the the dependee creates, or use a shared lib that the dependee creates.
Only when a program staticly copmiles in a library provided by another
spell does it have to be recompiled when the other is updated (so it'll
be able to compile in the new library).
That said, the kernel is an exception. Many spells put things in
/lib/modules/*, and when a kernel is recast, they dissapear (at least
this is my experience). There are good reasons to remove modules when a
kernel is modified. However, I agree that there should be a triggering
mechanism so that a spell can recast itself is another spell is recast.


On Mon, 2002-08-05 at 17:11, Casey Harkins wrote:
> Ahh, I see now.
>
> Most or all of the non-kernel flavor spells in the kernels section should
> probably be added to the end of the POST_INSTALL for the various kernel
> spells: 3c990, e100, hcflinmodem, i2c, lm_sensors and ltmodem. cvsfs is
> already there, and the NVIDIA_nforce spell I submitted to bugzilla will
> also need to be added if accepted.
>
> There has to be a better way to do this! Shouldn't we rebuild all
> dependent spells?
>
> -casey
>
>
> On Tue, 6 Aug 2002, Sergey A. Lipnevich wrote:
>
> > It's the explicit 'cast' in POST_* something, look e.g.
> > at openssl spell which rebuilds openssh.
> >
> > Casey Harkins <charkins AT upl.cs.wisc.edu>:
> >
> > >
> > >
> > > How does sorcery determine if a dependent spell needs
> > to be rebuilt
> > > upon updating its dependency? This morning I noticed
> > openssl was updated,
> > > this caused openssh to rebuild. However, doing a
> > 'gaze depends openssl'
> > > shows more than openssh being dependent on openssl?
> > Why does openssh
> > > rebuild but not the others?
> > >
> > > Another example, every time I rebuild my kernel, the
> > NVIDIA_kernel spell
> > > gets rebuilt. How is this specified (I need to do it
> > for the NVIDIA_nforce
> > > spell).
> > >
> > >
> > > -casey
> > >
> > >
> > > _______________________________________________
> > > SM-Grimoire mailing list
> > > SM-Grimoire AT lists.ibiblio.org
> > > http://lists.ibiblio.org/mailman/listinfo/sm-grimoire
> > >
> > >
> >
> >
> >
> > Sergey Lipnevich, MCSE, SCPJ,
> > Sr. Software Engineer,
> > New Age Network New York, Inc.,
> > +1-848-459-LIPN.
> >
>
> _______________________________________________
> SM-Grimoire mailing list
> SM-Grimoire AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-grimoire
>
--


Quidquid latine dictum sit, altum sonatur.
-----------------
PGP public key at
http://wwwkeys.ch.pgp.net:11371/pks/lookup?op=get&search=0x92B5D3F1

Attachment: signature.asc
Description: This is a digitally signed message part




Archive powered by MHonArc 2.6.24.

Top of Page