]> git.ipfire.org Git - thirdparty/libsolv.git/commit
rpmdb: Also detect rpmdb.sqlite in /usr/share/rpm 386/head
authorColin Walters <walters@verbum.org>
Mon, 25 May 2020 20:43:37 +0000 (20:43 +0000)
committerColin Walters <walters@verbum.org>
Mon, 25 May 2020 20:45:32 +0000 (20:45 +0000)
commit00f2815a6cceb04fdf3cf4ee12c76d9806af06f2
tree5b9534183a3c9691570bebb93a24553f0d5bd9d0
parentc32a18cba40c81191d6946d3a4bf42c4e0058b87
rpmdb: Also detect rpmdb.sqlite in /usr/share/rpm

See: https://bugzilla.redhat.com/show_bug.cgi?id=1838691

This is obviously adding to a tower of hacks; what we really
want is for this logic to live in librpm and be standardized.
But in order to fix the immediate issue of detecting the rpmdb
on rpm-ostree based systems (and any others that use `/usr/share/rpm`),
add the sqlite path to detection.

See also http://lists.rpm.org/pipermail/rpm-maint/2017-October/006681.html
ext/repo_rpmdb_librpm.h