Operating System - HP-UX
1834127 Members
2356 Online
110064 Solutions
New Discussion

building relocatable depot

 
Joe Long
Occasional Contributor

building relocatable depot

I'm building depots with swpackage using a default installation location such as /opt/abc, but I want the user to be able to install it to other locations such as /opt/xyz or /usr/local/abc if he chooses. I set is_locatable true in my .psf file, but that doesn't seem to be enough. If the installer changes install root from / to /opt/xyz, for example, the files end up in /opt/xyz/opt/abc instead of /opt/xyz.

Is there a way to allow this kind of relocation, or do I have to specify a default install root of / and have the user always specify the target directory?