[SunHELP] jumpstart & pkgadd scripts, BASEDIR vs CLIENT_BASEDIR env vars

Foong, Tzeweng sunhelp at sunhelp.org
Mon May 14 20:17:23 CDT 2001


Hello all,

We are using jumpstart to install several packages one of which is failing
at the 
postinstall script. Looking at a postinstall script from a package we are
trying 
to install, we have found that the post install scripts fails to use the 
PKG_INSTALL_ROOT environment variable to do the install. 

I have identified anotehr variable BASEDIR that is being used as well.
However the 
doco does not have BASEDIR as a variable but it does have CLIENT_BASEDIR.
the doco does say there is a difference between them but it does not seem to

be clear enough for my puny brain. 

Can any one please help and clarify it for me. Should I be changing the
postinstall
script to use CLIENT_BASEDIR instead of BASEDIR?


The following comes from docs.sun.com
CLIENT_BASEDIR 
The base directory with respect to the target system. While BASEDIR is the
variable to use if you are referring to a specific package object from the
install system (most likely a server), CLIENT_BASEDIR is the path to include
in files placed on the client system. CLIENT_BASEDIR exists if BASEDIR
exists and is identical to BASEDIR if there is no PKG_INSTALL_ROOT.

Thanks in advance
Tze Weng Foong




More information about the SunHELP mailing list