[Rpm-maint] [rpm-software-management/rpm] Make the default DB backend macro configurable (#157)
notifications at github.com
Fri Feb 17 11:05:06 UTC 2017
Currently if rpm is built with --enable-ndb, all newly created databases are in that format. We'll need more control over the format to enable safe testing which is a prerequisite for wider testing.
We need a macro configurable (%_rpmdb_backend or such) to set the default backend for newly created databases and default to BDB regardless of build-time options to be on the safe side. To convert to another format, changing the macro value to another backend and doing `rpmdb --rebuilddb` should be enough as rebuilddb starts by creating a new db.
It should be possible to arbitrarily switch back and forth between backends by --rebuilddb. I suspect currently it only works going from BDB to NDB because the files from the old database are not cleaned out on rebuild, IIRC. So that might need fixing too.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rpm-maint