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

Panu Matilainen pmatilai at laiskiainen.org
Thu Mar 4 12:59:50 UTC 2010


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 -


More information about the Rpm-maint mailing list