[pca] patchdiag.xref for CPU
Martin Paul
martin at par.univie.ac.at
Thu Jun 16 14:26:23 CEST 2011
After the idea came up to create a special patchdiag.xref which only includes
the patches of a Critical Patch Cluster (CPU), I couldn't resist and gave it a try.
I downloaded the "CPU OS Cluster 2011/04 Solaris 10 SPARC" and hacked up a
script (mkxref, see attachment) which extracts the necessary information from
the patch READMEs, patchinfo and pkginfo files and creates a patchdiag.xref
file. The idea is that this can then be used with PCA to patch systems to the
state of the CPU without actually having to download the +2GB file (on every
system).
Take care: The script is mostly untested. It's hard to verify whether the
patchdiag.xref it creates is 100% correct. It works with PCA, and I've compared
a few sample patches with their entries in the real xref file, and they looked
fine. The Recommended/Security flags are missing (they are not in the patchinfo
file), but this shouldn't matter.
I'm including both the script and the patchdiag.xref file I created from the
above mentioned CPU. If anybody does some experiments with it, I'd be happy to
hear about it. Theoretically, one can generate xref files for any set of patches
with the script, which might be of use in other regards than with the CPU as well.
Martin.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mkxref
URL: <https://lists.univie.ac.at/pipermail/pca/attachments/20110616/0163158d/attachment-0002.pl>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patchdiag.xref
URL: <https://lists.univie.ac.at/pipermail/pca/attachments/20110616/0163158d/attachment-0003.pl>
More information about the pca
mailing list