Skip to Content.
Sympa Menu

sm-commit - Re: [SM-Commit] GIT changes to master grimoire by Pol Vinogradov (ed4a25fe62d222702a003048bc062cf6eb2af75b)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Jeremy Blosser <jblosser-smgl AT firinn.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: Re: [SM-Commit] GIT changes to master grimoire by Pol Vinogradov (ed4a25fe62d222702a003048bc062cf6eb2af75b)
  • Date: Sat, 3 Mar 2007 20:03:33 -0600

On Mar 04, Pol Vinogradov [vin.public AT gmail.com] wrote:
> On Sat, 3 Mar 2007 19:22:09 -0600
> Jeremy Blosser <jblosser-smgl AT firinn.org> wrote:
> > If this is the confusion, then just forget you heard it... it's true
> > in only a limited sense and not the way you're using it.
> >
> > TRACK_ROOT is *not* used to find files _by the spell_. It *is* used
> > to find files at runtime by the other files that were installed.
> >
> > So for the imaginary package 'foobar', grimoire/section/foobar/INSTALL
> > finds files with INSTALL_ROOT:
> >
> > mv $INSTALL_ROOT/etc/foobar $INSTALL_ROOT/etc/foobar.old
> > cp etc/foobar $INSTALL_ROOT/etc/foobar
> > rm $INSTALL_ROOT/etc/foobar.old
> > ...etc...
> >
> > After it's installed and running, /usr/bin/foobar, /etc/foobar, etc.
> > find files with TRACK_ROOT, but that's very rarely anything you have
> > to worry about. If /usr/bin/foobar needed to know where its config
> > file was, you'd want to make sure you used sed to tell it:
> >
> > sed -i -e "s,/etc/foobar,$TRACK_ROOT/etc/foobar,g"
> > $INSTALL_ROOT/usr/bin/foobar
> >
> ok, thank you guys. maybe this rarely cases related to chroot install
> e.t.c?

It's rare because files rarely have internal info about where they are
installed that needs to be tweaked at that level in the spell.

Attachment: pgpqrcSaTWSow.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page