Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure database creation on initial installation
Disabling implicit database creation on read-only handles in commit afbc2b0 broke number of handy use-cases such as install to an empty chroot directory, both with rpm itself and dnf/yum at least, probably others too. This minimally resurrects the desired part of the behavior: if people are asking us to install something, creating a missing database is probably okay to create without requiring an explicit --initdb action first. It'll still spit some ugly errors from trying to load the keyring but at least it'll work. The harmless errors we can try to deal with separately later on.
- Loading branch information