Operating System - HP-UX
1833159 Members
3080 Online
110051 Solutions
New Discussion

swpackage and swinstall don't create empty directories

 
Lars Ebeling
Frequent Advisor

swpackage and swinstall don't create empty directories

Dear all,

I am trying to make a depot-file and have almost succeeded. When running swinstall empty directories are not installed. Do I have to have a file in all directories ?

Regards
Lars
6 REPLIES 6
Arunvijai_4
Honored Contributor

Re: swpackage and swinstall don't create empty directories

Hi Lars,

Basically, in PSF file you will be specifying source and target directories. something like,

../bin/test /usrlocal/product/bin/test

Could you able to see files when you run

# swlist -l file -s
# swlist -l fileset -s

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Steven E. Protter
Exalted Contributor

Re: swpackage and swinstall don't create empty directories

Shalom Lars,

I would suggest creating place holder files or a post-installation script that create the necessary empty directories.

If your script adds a service with auto startup, the script in /sbin/init.d can create the empy directories the first time the daemon runs.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Muthukumar_5
Honored Contributor

Re: swpackage and swinstall don't create empty directories

IS there any information in log files? Can you show the lines used in .psf file?

--
Muthu
Easy to suggest when don't know about the problem!
Lars Ebeling
Frequent Advisor

Re: swpackage and swinstall don't create empty directories

Attached is an extract from the psf-file. The empty directories are not created.

Lars

Lars Ebeling
Frequent Advisor

Re: swpackage and swinstall don't create empty directories

I made swlist -l file .....

The empty directories were not in the depotfile, so it is swpackage that doesn't include them

regards
Lars
Lars Ebeling
Frequent Advisor

Re: swpackage and swinstall don't create empty directories

I created a file in the empty directories