1833770 Members
1889 Online
110063 Solutions
New Discussion

swpackage options

 
SOLVED
Go to solution
nancy rippey
Trusted Contributor

swpackage options

I have created a package and placed it in my depot. The package installs fine, except for the files that have soft links. The soft links are not created. I have been unable to locate how to get this to work. Do I need to add something to my psf file or is there an option to the swpackage command.

Thanks in advance
nancy
nrip
5 REPLIES 5
Pete Randall
Outstanding Contributor
Solution

Re: swpackage options

Nancy,

The HP install process adds the links as a separate step at the end: tlinstall, for example, does the transition links. Maybe you could do something like that?


Pete

Pete
John Payne_2
Honored Contributor

Re: swpackage options

Nancy,

As Pete was explaining, this can be done in the postinstall or postconfigure section of the install. Write a script that creates the links, and add it to your psf. Then set that script to run as postinstall or postconfigure, which in software packer builder you set under under the "product" section.

Hope it helps
John

Spoon!!!!
Dennis Handly
Acclaimed Contributor

Re: swpackage options

You should be able to just install softlinks.

The PSF for the aC++ product just has:
directory ${staging_location}/ACXX-MAN/opt/aCC/ ...
file *
directory .

And the "file *" just picks the links up.
Dennis Handly
Acclaimed Contributor

Re: swpackage options

More info from the manual:
http://docs.hp.com/en/B2355-90754/ch10s04.html#d0e24157

An explicit file specification uses this form:
file [-v] [-m mode] [-o [owner[,]][uid]] [-g [group[,]][gid]]
[-t type] [source] [destination]
nancy rippey
Trusted Contributor

Re: swpackage options

Thanks for all the input. I added a postinstall calling a script which created the soft links and just like that I had them. Thanks again.
nrip