1752749 Members
4859 Online
108789 Solutions
New Discussion юеВ

Patch Bundles

 
Richard Ace
Frequent Advisor

Patch Bundles

If I have lots of patches i.e. "bits and Bobs"
How can I make my life simple by creating my own PATCH BUNDLE. Please help and maybe I will have a good day.

Thank you

Rich
3 REPLIES 3
Sachin Patel
Honored Contributor

Re: Patch Bundles

Hi Richard,
How to bundle multiple patches?

copy all patches in to one directory for example /tmp/sachin/ and we are creating depot in /usr/local/sw

Uncompress all patches.
#for X in /tmp/sachin/PH*
#do
#sh $X
#rm $X
#rm ${X}.text
#done

Then copy all patches in to one directory
#for X in /tmp/sachin/PH*.depot
#do
#swcopy -s $X @ /usr/local/sw
#done

Then create bundle
#swpackage -s /usr/local/sw (this bundle will has no name)
#swlist -s /usr/local/sw (This will lists all patches in that bundle)

Install now
#swinstall -s /usr/local/sw (select all patch and install)

Update
.psf file should look like this. Use this on swpackage with -s option.
#swpackage -s file.psf @ /usr/local/sw

#cat file.psf
bundle
tag PERFORMANCE
title TIMSPATCHES
os_name HP-UX
revision B.11.00.01
architecture S700/S800_HP-UX_11
contents PHCO_21187,r=1.0,a=HP-UX_B.11.00_32/64,v=HP
.....
end

To get this "PHCO_21187,r=1.0,a=HP-UX_B.11.00_32/64,v=HP"

#swlist -l product -a software_spec -s /usr/local/sw |grep -v "^#" |awk '{print $2}'

Sachin Patel
Is photography a hobby or another way to spend $
Helen French
Honored Contributor

Re: Patch Bundles

Richard Ace
Frequent Advisor

Re: Patch Bundles

Thanks People. Seems very straight forward.

I get to have an easy day

Cheers

Rich