Operating System - HP-UX
1834465 Members
3548 Online
110067 Solutions
New Discussion

Re: output depot software to a *.depot file

 
SOLVED
Go to solution

output depot software to a *.depot file

I'm looking for a command that will allow me to get a piece od software out of an SD-UX depot and get it back to a .depot file for transport. Can anybody help?

Thanks
Allen
The possibilities for disaaster boggle the mind!
3 REPLIES 3
Tim D Fulford
Honored Contributor

Re: output depot software to a *.depot file

that will be swcopy

You can swcopy the relavent stuff to a directory, tar it up, transport, untar & install from that dir.

Tim
-
Pete Randall
Outstanding Contributor

Re: output depot software to a *.depot file

Allen,

I've never tried it, but have you looked at swpackage?

swpackage(1M):

+ swpackage can be used to re-package software_selections from an existing distribution directory to a distribution tape.


Pete


Pete
Stuart Abramson_2
Honored Contributor
Solution

Re: output depot software to a *.depot file

7. To copy a depots to tape for mailing or for storage:

swpackage -s /depots/patch11.0 -d /dev/rmt/0m -x target_type=tape [patch1] [patch2]

(If you want the whole depots, don't specify [patch]s.)

8. If you want to put a patch into a disk file:

swpackage -s /depots/patch11.0 -d /tmp/filename -x target_type=tape [patch1] [patch2]

and you get a depots type file that you can install with:

swinstall -s /tmp/filename PHSS_8835