Parent document is top of "comp.sys.hp.hpux FAQ"
Previous document is "7.72 How do I get rid of these old 10.X patches since I upgraded OS's?"
Next document is "7.74 How can I determine how much memory there is in my HP-UX system?"
7.73 How to install multiple patches on a 10.x system without rebooting?
Use swcopy to create a Patch depot and start swinstall with the patch depot
as the source. The following script will create the patch depot for you:
#!/sbin/sh
# cd to the directory where the patches are (PHxx_xxxx) and start
# this script. it will extract the patches one by one and create
# a patch-depot in $PDEPOT.
PDEPOT=/tmp/PATCH.depot
for PFILE in PH*[0-9];
do
sh $PFILE
done
# remove the archives
rm PH*[0-9]
# it's a good habit first reading the PHxx_xxxx.text file
# before deleting them.
# rm *.text
for PFILE in PH*depot;
do
PNAME=`echo $PFILE | cut -d. -f1`
/usr/sbin/swcopy -s $PWD/$PFILE $PNAME @ $PDEPOT
done
clear
echo "*********************************************************************"
echo " PLEASE NOTE: The Patch depot $PDEPOT has been created."
echo "*********************************************************************"
echo "Please start swinstall with $PDEPOT as the source, and don't"
echo "forget to unregister the depot (e.g. swreg -u -l depot $PDEPOT)."
Thanx to Robert Sakic <rsakic@hpugrca.grc.hp.com>
Parent document is top of "comp.sys.hp.hpux FAQ"
Previous document is "7.72 How do I get rid of these old 10.X patches since I upgraded OS's?"
Next document is "7.74 How can I determine how much memory there is in my HP-UX system?"