[pca] pca and the liveupgrade needs?

Martin Paul martin at par.univie.ac.at
Wed Nov 4 15:38:07 CET 2009


Gerard Henry wrote:
> before applying the liveupgrade procedure, we need to verfiy a bunch of 
> patches on this document:
> http://sunsolve.sun.com/search/document.do?assetkey=1-61-206844-1

pca is not really good at this, as you've found out already ..

I'm attaching a small script I've used for the same purpose in the past. 
Run it like that:

   $ ./chkmin 118815-05 120900-04 ...

It will only output those patches from the list which are not installed 
in at least the specified revision already. You can feed that list back 
to pca immediately, like that:

   $ pca --list `./chkmin 118815-05 120900-04 ...`

You'll probably quickly notice one thing: Sun includes patches in these 
list which are obsoleted, so some more manual intervention might be 
required (the script doesn't resolve obsoletions). I don't know whether 
Sun does that by intention: on one hand, the required fix *is* included 
in the obsolete patch, so there's no need to install the patch which 
obsoleted it instead. On the other hand, recommending the installation 
of obsolete patches seems wrong.

As I don't know what the correct recommendation would be in that case, 
this is one reason why I haven't added the "chkmin" functionality to pca 
yet. Might be a good moment to ask you (and others) on what you think 
about how this should be handled?

Martin.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: chkmin
Url: https://lists.univie.ac.at/mailman/private/pca/attachments/20091104/d27836f4/attachment.pl 


More information about the pca mailing list