[Rpm-maint] [PATCH 15/19] Remember that a package was installed with --nopolicy

Steve Lawrence slawrence at tresys.com
Thu Mar 4 21:56:17 UTC 2010


On Thu, 2010-03-04 at 14:59 +0200, Panu Matilainen wrote:
> On Tue, 2 Feb 2010, Steve Lawrence wrote:
> 
> > Policy modules should be ignored during policy conflict detection if a
> > package was installed with --nopolicy. This patch remembers if a package
> > was installed with --nopolicy by added a new tag, RPMTAG_NOPOLICIES,
> > and setting its value to the time the package was installed. When doing
> > conflict checks, the existence of the tag in a header tells rpm to ignore
> > its policies during conflict detection.
> 
> I've been thinking of adding a RPMTAG_INSTALLSTATUS or such which would 
> carry bits of information about the package's status such as were there 
> scriptlet failures during the install. This would nicely fall into that 
> category: instead of a needing yet another tag, it would be just another 
> bit in RPMTAG_INSTALLSTATUS.
> 
>  	- Panu -

Seems fine to us.


More information about the Rpm-maint mailing list