[csw-maintainers] relatocatable packages and package scripts

Ben Walton bwalton at opencsw.org
Thu Dec 4 20:59:29 CET 2008


Excerpts from Philip Brown's message of Thu Dec 04 13:40:02 -0500 2008:
> Oh, fyi: for "relocatable packages"
> (ie: where you have a "BASEDIR" set)

Ok, I had confused the terminology in my head.  I was thinking that -R
was relocatable, but that's not the proper Sun-blessed term for
this.

I'm not overriding BASEDIR, and it seems that GAR leaves it unset,
(which sees it recorded in the post-install pkginfo as /).  This seems
sensible to me, as throwing relocation into the mix for many things
would be in the 'cruel and unusual' category (eg: we've gone to great
length to get paths into files through autoconf, etc...corrections to
this thinking are welcome, of course).

Are we ok to support PKG_INSTALL_ROOT and not worry about BASEDIR
then, as far as CSW is concerned?

> i believe that PKG_INSTALL_ROOT automatically gets $BASEDIR appended
> to it.

This is correct.

Thanks
-Ben
-- 
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302

GPG Key Id: 8E89F6D2; Key Server: pgp.mit.edu
Contact me to arrange for a CAcert assurance meeting.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.opencsw.org/pipermail/maintainers/attachments/20081204/f88c21cb/attachment-0001.asc>


More information about the maintainers mailing list