Operating System - HP-UX
1752550 Members
4633 Online
108788 Solutions
New Discussion юеВ

Re: How to modify existing SDUX Package

 
SOLVED
Go to solution
Ganesh Balraman
Regular Advisor

How to modify existing SDUX Package

Hi All,

We already have created a pacakge and we need to add some files into the existing package .

Can you pls help in executing the process of steps for repackaging.


Thanks
19 REPLIES 19
RUET
Regular Advisor
Solution

Re: How to modify existing SDUX Package

Don't you have the sources of your package (PSF file and bits ) ?

if yes just modify the source bits, increment the version in your PSF file and rerun swpackage

As I know, swpackage is not able to make an upgrade of and actual package
Dennis Handly
Acclaimed Contributor

Re: How to modify existing SDUX Package

>P R: swpackage is not able to make an upgrade of an actual package

Right. The most you can do is create a patch that will install a file after the original product is installed.
Bob E Campbell
Honored Contributor

Re: How to modify existing SDUX Package

If you do not have a psf file you can start with a "swlist -v" of the product and then read the swpackage(4) man page.

While I am personally fond of patches, they are a touch more complex.
Armin Kunaschik
Esteemed Contributor

Re: How to modify existing SDUX Package

Get Software Package Builder from software.hp.com (also included on current HP-UX install media)!
The software let's you open your depot and extract the PSF file.
You can also create new packages... there is a comprehensive help coming with it.

My 2 cents,
Armin

PS: Please assign points!
And now for something completely different...
RajuD
Frequent Advisor

Re: How to modify existing SDUX Package

please let me know what is psf file and what it cointains..what significat improvement we can acheive on this.
тАЬEducation is our passport to the future, for tomorrow belongs to those who prepare for it today.тАЭ
Dennis Handly
Acclaimed Contributor

Re: How to modify existing SDUX Package

Rajesh: let me know what is PSF file and what it contains.

Product Specification File (PSF)
See the following:
Creating a Product Specification File (PSF)
http://docs.hp.com/en/5992-5875/ch10s04.html
Product Specification File
http://www.docs.hp.com/en/5991-7462/ch02s04.html

>what significant improvement we can achieve on this.

If you don't know what it is, why are you asking about improvements?

>Armin: The software let's you open your depot and extract the PSF file.

Do you know how to do this besides using the GUI?
Bob E Campbell
Honored Contributor

Re: How to modify existing SDUX Package

Could you be more specific as to what you mean by package? Most of these answers are assuming this meant a complete creation of everything from individual files. Was this package simply a bundle that grouped other content together?
RajuD
Frequent Advisor

Re: How to modify existing SDUX Package

Hi Denies,

Thansk for the reply i will go through the document provided.
тАЬEducation is our passport to the future, for tomorrow belongs to those who prepare for it today.тАЭ
Armin Kunaschik
Esteemed Contributor

Re: How to modify existing SDUX Package

@Dennis: Each depot is a tar-file actually. So un-tar it and check catalog/INDEX. Voila.
You might need additional files and resources. This is when SPB gets pretty useful as reference.

My 2 cents,
Armin

PS: Please assign points if you find answers useful!
And now for something completely different...