1832212 Members
2437 Online
110041 Solutions
New Discussion

General depot question

 
SOLVED
Go to solution
Kirk Reindl
Frequent Advisor

General depot question

HPUX11.11
June2003 release.

Hi, my organization is on a yearly patch install rotation. Currently, we have a patch depot. It is /sdist/hpux/11.11/patches/June2002

The patch bundles in this depot are in production and have been in production since 9-1-02. Now I have my June2003 support plus CD and I'd like to put the patch bundle in "a depot."

Now, I'm a very organized guy. I want to create what I'd call a new depot. It would be named: /sdist/hpux/11.11/patches/June2003

But I'd like to know what happens if I swcopy the 2003 patch bundle into my ../June2002 patch depot? Is this how most shops work? How would I ever be able to discrimate between a June2002 patch and a June2003 patch??

Thanks for direction.

Kirk Reindl

7 REPLIES 7
Steven E. Protter
Exalted Contributor

Re: General depot question

I'm posting a script that will let you make a depot on disk off the cd or any other source.

Just change directories to the depot and run the command.




#!/bin/sh

# $1 is the location where you want to create a new depot. It can be tape if you wish.

# This or looop will unshar patches comment out for already expanded depots.
for i in PH*
do
sh ${PWD}/$i
done


# modify this line so that you include what you want in the new depot
for i in PH*.depot
do
swcopy -s ${PWD}/$i \* @ $1
done

#removes the depots comment out or let fail on cd's
for i in PH*.depot
do
rm ${PWD}/$i
done

# removes patch text files.

for i in PH*.text
do
rm ${PWD}/$i
done

I'm attaching a better script.

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
Solution

Re: General depot question

Hi Kirk:

You wonldn't. Leave the 2002 depot intact and create your 2003 depot. Patches are cumulative and if you ever needed to create a new 11.11 system from the "core" media you would merely apply to most recent patch bundle.

Regards!

...JRF...
Pete Randall
Outstanding Contributor

Re: General depot question

Kirk,

No worries, you can copy it into the same depot and still distinguish which is which. A "swlist -d" will show two bundles which will be clearly identified by their name as the June 2002 and the June 2003 ones.


Pete


Pete
Kirk Reindl
Frequent Advisor

Re: General depot question

Thanks for the respones.

James,

I understand what you are saying. What is the advantage to leaving the ../June2002 depot intact?

The only reason I bring this up is b/c my company is very cost conscious and the addition of the June2003 depot will be another 800MB. Assuming the same duplication is done for an OS and application, it always fills up my filesystem.

Thanks again.
James R. Ferguson
Acclaimed Contributor

Re: General depot question

Hi (again) Kirk:

In my opinion there is really no need to keep the June2002 depot at all.

Regards!

...JRF...
Pete Randall
Outstanding Contributor

Re: General depot question

Kirk,

I have to agree (totally) with James. Because the depots are cumulative anyway, there is nothing to be gained by retaining the old. Do a "swremove -d" and blow away the old after you've installed the new.


Pete


Pete
John Payne_2
Honored Contributor

Re: General depot question

Kirk,

I put all my HPUX 11.11 patches in a depot called "/depot/11.11/patches" I do this so that patches that were in a previous release will not be copied again. (Saves the space.) I also don't need to worry about the patches from the older depot because they were installed on the last round. (I keep them for the unlikely event of my needing to to a cold install or something.) It saves me quite a bit of space. The Quality Pack 'revisions' are listed under the /depot/11.11/patches depot when you go into it. (So you can differeniate when you install.)


Hope it helps

John
Spoon!!!!