Datacentre Support Reference Guides

HP: Creating Patch Depots
 

 


To create a patch depot:

1.    Download the patch into /usr/local/patches/${Patch}

2.    Unshar the patch

sh /usr/local/patches/${Patch}/${Patch}

3.     swcopy -s /usr/local/patches/${Patch}/${Patch}.depot \
${Patch} @/usr/local/patches/patch_depot

4.     Install the patches as appropriate

5.     Unregister the sw depot:

swreg -u -l depot /usr/local/patches/patch_depot

6.     tar & zip the directory:

tar -cvf /usr/local/patches/path_depot.${Date} \
/usr/local/patches/patch_depot
gzip /usr/local/patches/patch_depot.${Date}

7.     Remove the patch depot directory.

rm -fr /usr/local/patches/patch_depot