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:
https://github.com/rpm-software-management/rpm/issues/157
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint