Operating System - HP-UX
1830039 Members
1828 Online
109998 Solutions
New Discussion

how to bundle product software in tar format

 
krs2prs
Advisor

how to bundle product software in tar format

Hi,
I have 3x individual PRM product softwares as below:
PRMKernelSW,r=C.03.03.01,a=HP-UX_B.11.11_32_64.tar
PRMLibraries,r=C.03.03.01,a=HP-UX_B.11.11_32_64.tar
B3835DA,r=C.03.03.01,a=HP-UX_B.11.11_32_64.tar

I can do swinstall -s on each product but I want to put all these 3 products in 1 . How can I do this?

Thanks,
krs2prs
10 REPLIES 10
Steven E. Protter
Exalted Contributor

Re: how to bundle product software in tar format

Shalom,

I'm kind of wondering how you got these products into that format.

See swpackage to make a depot into a tape like single file depot.

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
krs2prs
Advisor

Re: how to bundle product software in tar format

Hi Steven
I got this somewhere in the web. I need to merge these 3 products into 1. or how do I convert this to depot format?
regards,
krs2prs
V. Nyga
Honored Contributor

Re: how to bundle product software in tar format

Hi,

'how do I convert this to depot format?'
- it depends, how your tar file built.

Can you give us a list of one tar?

Also check 'man swpackage' for SEP's tipp.

Volkmar
*** Say 'Thanks' with Kudos ***
krs2prs
Advisor

Re: how to bundle product software in tar format

Hi,
I don't know how this product was built in tar format. I'm attaching one file.
regards,
krs2prs
V. Nyga
Honored Contributor

Re: how to bundle product software in tar format

Hi again,

it doesn't looks like you can 'swinstall' these tar's - it's a plain directory structure - btw. you can see it with 'tar tvf .

You can untar (tar xvf ) all tar files in a temporary directory, the tar all together in one file - 'tar cvf .'

Then you've one tar file with all products.
These products will not be registered in swlist, because you don't have installation files but a tar-archiv of an installation!

Volkmar
*** Say 'Thanks' with Kudos ***
V. Nyga
Honored Contributor

Re: how to bundle product software in tar format

For your interest:
the User's Guide of HP Process Resource Manager:
http://docs.hp.com/en/B8733-90021/index.html

And this you've to buy to install it correct:
http://h30094.www3.hp.com/product.asp?sku=2416241&jumpid=oc_R1002_USENC-001_HP%20Process%20Resource%20Mgr%20LTU%20for%20HP-UX%2011.x

HTH
Volkmar
*** Say 'Thanks' with Kudos ***
krs2prs
Advisor

Re: how to bundle product software in tar format

Hi,
I just did swinstall -s and it works fine. You don't need to untar the file.
regards,
krs2prs
V. Nyga
Honored Contributor

Re: how to bundle product software in tar format

ok, so check the man pages of swpackage:
'swpackage can be used to re-package software_selections from an existing distribution directory to a distribution tape.

V.
*** Say 'Thanks' with Kudos ***
David Bellamy
Respected Contributor

Re: how to bundle product software in tar format

krs2prs you can use the swcopy command to bundle the products into on depot

man swcopy
Dennis Handly
Acclaimed Contributor

Re: how to bundle product software in tar format

>I don't know how this product was built in tar format.

As David says, these are SD depots, not ordinary tar files.

>Volkmar: it doesn't looks like you can 'swinstall' these tar's

Sure you can. swlist likes them fine.

>You don't need to untar the file.

Right, you must not do that.

>David: you can use the swcopy command to bundle the products into on depot

Right, use swcopy not swpackage.