[pca] fix maximum patch level for a patch

Martin Paul martin at par.univie.ac.at
Wed Jun 8 13:11:10 CEST 2011


Steve Goldthorpe wrote:
> With patch 119534-24 and above, createflar creates version 3.0 flash
> archives that cannot be read by Solaris 10u9 miniroots.  As Solaris 10u10 is
> not out yet (which allegedly bring this capability), I have to ensure I only
> patch to 119534-23 and not beyond.
> 
> To do this I'm manually hacking the patchdiag.xref file, can this be done
> natively by pca?  If not is there scope for a new feature to enable this
> behaviour - something live pca --maxpatchlevel=119534-23.

The only workaround is to add "--ignore 119534" to pca.conf or the command line, 
but then the patch will be ignored completely. You'd have to make sure that 
119534-23 is installed manually, if you need it.

Anything more fine-grained doesn't work for the usual reason: There is no 
information about past patch revisions included in patchdiag.xref. In your 
example, PCA could only assume that the meta-data (e.g. packages, required 
patches) for revision 23 is exactly the same as for the current revision (27, as 
of today). This is often not the case, and would end up in strange issues.

Hope that helps,

Martin.



More information about the pca mailing list