[csw-maintainers] relatocatable packages and package scripts

Philip Brown phil at bolthole.com
Thu Dec 4 19:38:22 CET 2008


On Thu, Dec 04, 2008 at 01:28:12PM -0500, Ben Walton wrote:
> Hi All,
> 
> For the openjade project, I need to write a postinstall/preremove
> script pair to register/unregister the installed catalogs, using
> scripts provided by the sgmlcommon package.  The install-catalog
> script creates an new file in /opt/csw/etc/sgml based on parameters
> passed in and then adds an entry to /opt/csw/etc/sgml/catalog to
> reference this new file.

ok....


> 
> How would one handle PKG_INSTALL_ROOT in the face of something like
> this where the dependent script is unaware of the altered root
> environment?

chroot $PKG_INSTALL_ROOT run/script/here




More information about the maintainers mailing list