Operating System - HP-UX
1826415 Members
3967 Online
109692 Solutions
New Discussion

swpackage : despite -t s option in Product specification file (psf ), depot is having entry as file

 
Varun_5
Occasional Advisor

swpackage : despite -t s option in Product specification file (psf ), depot is having entry as file

This is related to swpackage command and PSF file -t s option of file to create link.

We can get a successful build of the depots
but I noticed any symlinks specified in the .psf
files either get installed as a regular file or
a directory.

For example :
psf file has these symlinks :

file -m 0755 -o root -g root -t s /opt/product/share/examples /opt/product/examples
file -m 0755 -o root -g root -t s /etc/opt/product /opt/sun/product
file -m 0755 -o root -g root -t s /var/opt/product /opt/product/var

but when we create depot and check in INFO file at MyProduct/catalog/testDepot/testDepot/INFO we see them as directory type as following

---INFO file of depot----
file
path /opt/product/etc
type d // Should be 'type s'
mode 0755
uid 0
gid 0
owner root
group root
------

I tried with multiple user.

Strange thing is same psf file is producing proper depot on other machine.
Above problem is with specific machine

Help will be highly appreciated.

Thanks in advance.
Varun
2 REPLIES 2
Denver Osborn
Honored Contributor

Re: swpackage : despite -t s option in Product specification file (psf ), depot is having entry as file

Compare the sd-ux patches between this box and the other one where it works. Chances are good that the problems box isn't at the same rev as the other one.

suspect you have PHCO_23578 or newer on the good box but not on the problem one.

what /usr/sbin/swpackage

-denver
Denver Osborn
Honored Contributor

Re: swpackage : despite -t s option in Product specification file (psf ), depot is having entry as file

read defect descriptions for patch and saw one I overlooked. this is probably closer to the prob you're seeing.

fixed w/ PHCO_33822
JAGaf46269: Package source file specified for the "-t" and the multi line file "type" syntax is not handled properly by swpackage.

anyhow, compare sd patches and update the "broken" box which probably has an older rev then the good box.

-denver