Operating System - HP-UX
1847203 Members
3394 Online
110263 Solutions
New Discussion

Re: Creating personal software depots

 
SOLVED
Go to solution
Paul Thomson_2
Super Advisor

Creating personal software depots

Hi

I have created software depots in the past for patches and CD's which contained HPUX software. However, I would like to create something similar for my own scripts. For example, I could create a depot for my own applications which would contain all the files. Im wondering if this is possible using swcopy aslong as I have set up the source OK. I have tried searching the ITRC and everything details HP software.

Any help would be approciated.

Thanks
Paul
Argh ye land lovers !
6 REPLIES 6
Arunvijai_4
Honored Contributor
Solution

Re: Creating personal software depots

Hi paul, You can create your personal depots with # swpackage. First of all, you need to create PSF file and Control scripts like, preinstall, postinstall, configure, etc.

Check this guide for more information,
http://docs.hp.com/en/SD/cookbook.html

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Muthukumar_5
Honored Contributor

Re: Creating personal software depots

To create software distribution use swpackage to create it.

Useful document,

http://docs.hp.com/en/5990-6771/index.html

--
Muthu
Easy to suggest when don't know about the problem!
Muthukumar_5
Honored Contributor

Re: Creating personal software depots

I could create a depot for my own applications which would contain all the files. Im wondering if this is possible using swcopy aslong as I have set up the source OK.

>>

You can copy the file sets to another software source target with swcopy.

Copy the C and Pascal products to some local and remote depots:

swcopy -s sw_server cc pascal @ /var/spool/sw hostA:/tmp/sw hostB

See more on swcopy man page on Examples part.

To create new software package, develope a product specification file (psf) and use swpackage a depot file.

--
Muthu
Easy to suggest when don't know about the problem!
Arunvijai_4
Honored Contributor

Re: Creating personal software depots

Hi Paul,

A great thread,

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=983049

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Paul Thomson_2
Super Advisor

Re: Creating personal software depots

Arun / Muthu

Thanks, your first posts gave me all I needed to do to create what I needed.

Thanks very much.....

Argh ye land lovers !
Geoff Wild
Honored Contributor

Re: Creating personal software depots

Paul - also download psf.pl from this site - good perl script to create your own psf file...

http://www.hpworks.org.uk/newsletter/articles/depots/

I modified mine to go to /opt instead of /usr/local

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.