cancel
Showing results for 
Search instead for 
Did you mean: 

packaging

SOLVED
Go to solution
merieux
Frequent Advisor

packaging

Hi ,

I am in charge to build some specific package. I have never been build any HP-UX package but i know i have some cookbook , and the man pages are my friends :-)

Is it possible to extract all informations recorded in the depot file in the purpose to modify some script and easily re-create the package ? What is the best way to proceed ? What about extract the depot via tar ? Is swpackage will allow me to easily re-create a new package if i have previously extracted all information by a tar command ?

Thank you for you reply
Xavier

5 REPLIES
Steven E. Protter
Exalted Contributor

Re: packaging

Shalom,

It should be possible to use swlist -l fileset and a few other commands to find the pieces you need to reconstruct your depot.

http://docs.hp.com/en/5992-4616/5992-4616.pdf

Once the depot is created, swpackage command is trivial.

Please provide more specifics.

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
Dennis Handly
Acclaimed Contributor
Solution

Re: packaging

>and the man pages are my friends :-)

I would think SPB is your friend.
http://docs.hp.com/en/SPB/index.html

What you want to do isn't documented in any man pages because it isn't supported.

The intention is that you use swpackage to start all over and package it again.

>Is it possible to extract all informations recorded in the depot file in the purpose to modify some script and easily re-create the package?

The simple answer is no. But SPB has an option to generate a PSF.

>What about extract the depot via tar?

Not supported.

>Is swpackage will allow me to easily re-create a new package if I have previously extracted all information by a tar command?

No. Not supported.
tar doesn't produce the proper metadata.

>SEP: It should be possible to use swlist -l fileset and a few other commands to find the pieces you need to reconstruct your depot.

This won't be perfect.

>Once the depot is created, swpackage command is trivial.

That's chicken & egg. You need to use swpackage (or SPB) to create the depot.
merieux
Frequent Advisor

Re: packaging

Hi ,

Thank you for your answar . I have succesfully installed spb. Unfortunatly the software hang when i launch it whithout error messages . Pehaps java is not coorectly configured , i don't know . If you have any suggestions feel free to answer me .

Regards ,



merieux
Frequent Advisor

Re: packaging

My java path was set on PA-RISK architecture instead of IA64. SPB is right now correctly running .

merieux
Frequent Advisor

Re: packaging

thank you for your reply