1825793 Members
2299 Online
109687 Solutions
New Discussion

depot

 
SOLVED
Go to solution
pgorn
Frequent Advisor

depot

I have about 15 dependencies I had to download for a program. I have them in a fold on my PC. Can someone help me with a command to put all the .depots in one big depot to install on the hp server.
2 REPLIES 2
Steven E. Protter
Exalted Contributor
Solution

Re: depot

Shalom pgorn,

script based:

for i in PH*
do
sh $i
done

for i in *.depot
do
swcopy -s ${PWD}/$i \* @ ${1}
done


$1 is the name of the target depot, whatever you want.

First for loop unshar's patch depots starting with PH

Second, the swcopy is what you really want to do.

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
James R. Ferguson
Acclaimed Contributor

Re: depot

Hi:

The ITRC Patch Database lets you select a patch or patches and automatically collect all of the dependencies in a single bundle that you then download.

You can also specify a compressed ('gunzip') archive. Once downloaded, into the '/tmp' directory, do:

# gzip -d /tmp/hpux*.tgz
# tar -xvf /tmp/hpux*.tar

A script called 'create_depot_hp-ux_11' comes with the archive and should be run to 'swcopy' the patches therein into a depot that can be used with 'swinstall':

# /tmp/create_depot_hp-ux_11

# swinstall -s /tmp/depot -x autoreboot=true -x patch_match_target=true

Regards!

...JRF...