Operating System - HP-UX
1830898 Members
1910 Online
110017 Solutions
New Discussion

Create an iplanet depot file from a tar.

 
jmckinzie
Super Advisor

Create an iplanet depot file from a tar.

Here is what I have:

I have an iplanet 6.1 tar file which i would like to create into a depot.

I have untarred the file to /tmp/Web61sp8

Now, in the initial instal, I have to run the setup script to install the tar file however, i would like to have it in a depot so it shows up in swlist.

I read how to do this in ITRC however, I am unsure how to make the depot file run the setup script.

IE: taken from: http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1218560548607+28353475&threadId=100198

1) a PSF file to describe your product
2) the datas you want to put in your depot
3) use swpackage -s -d

However, once i create the PSF, how exactly do I tell the depot to install using the setup script within the depot?
4 REPLIES 4
TTr
Honored Contributor

Re: Create an iplanet depot file from a tar.

> how exactly do I tell the depot to install using the setup script within the depot

I assume your problem is with the setup script being interactive and asking the installer person for settings such as installation path, and other parameters. You can not run a setup script from inside a depot. The depot is run with swinstall and there is no customization available.

> I have untarred the file to /tmp/Web61sp8
You package the installed files not the source file. So for this you run the setup script and then get all the files from their installed location(s) and those are the ones you use in the depot. You can change the default locations from hatever they are to be paths in opt.

All the answers that the setup script asks for, must be the default settings that you use in the depot. Any additional actions you can put them in the postinstall script. No matter what you do there can be NO interaction during swinstall.

Take a look at http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1241895
Also search for "depot creation" "create depot" in this forum.
jmckinzie
Super Advisor

Re: Create an iplanet depot file from a tar.

the setup script does not require any user interaction so, may i ask how i do this?

Do i use this untarred file to create the depot?

Sorry, I am a bit confused.
TTr
Honored Contributor

Re: Create an iplanet depot file from a tar.

You have to use the files from their final location along with their paths after the setup script is run. There is a lot to creating a depot not just swpackage. Read the long thread I listed above.
Dennis Handly
Acclaimed Contributor

Re: Create an iplanet depot file from a tar.

See Bob's mention of Software Package Builder in TTr's URL.

>how exactly do I tell the depot to install using the setup script within the depot?

You could turn that setup script into a postinstall control script. Or have that control script invoke the setup script.