[Rpm-maint] rpmdbAdd is gone?
mls at suse.de
Fri May 13 13:05:51 UTC 2011
On Fri, May 13, 2011 at 04:00:59PM +0300, Panu Matilainen wrote:
> On 05/12/2011 06:59 PM, Michael Schroeder wrote:
> >Hmm, I see that rpmdbAdd() et al have been removed in favor
> >of rpmts, but there don't seem to be equivalent functions.
> >How about rpmtsHeaderAddDB() and rpmtsHeaderRemoveDB()?
> >Patch attached.
> Well, the point of removing rpmdbAdd() and rpmdbRemove() from the API
> was to prevent bypassing the transaction processing for any
> install/remove actions.
> I'd rather not add them or similar functions back, but I'd like to hear
> the use-case first - what exactly do you need them for?
Well, actually to keep convertdb1 alive ;-) Ok, this is somewhat
academic, but there might be some other use cases, IMHO the
LSB folks sometimes discussed a way to add other installers
that would add metadata into the rpm database.
Michael Schroeder mls at suse.de
SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg
More information about the Rpm-maint