[SM-Commit] GIT changes to master grimoire by Pol Vinogradov (ed4a25fe62d222702a003048bc062cf6eb2af75b)
jblosser-smgl at firinn.org
Sat Mar 3 21:03:33 EST 2007
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
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/sm-commit/attachments/20070303/4d5aa7b4/attachment.bin
More information about the SM-Commit