dnf: Load filelists for actual solver too

Not just in tests.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
(cherry picked from commit 209d308e1c)
This commit is contained in:
Lubomír Sedlář 2024-02-15 15:23:49 +01:00 committed by Stepan Oksanichenko
parent 744b00499d
commit 4d858ef958
Signed by: soksanichenko
GPG Key ID: AB9983172AB1E45B

View File

@ -97,6 +97,7 @@ def main(ns, persistdir, cachedir):
dnf_conf = Conf(ns.arch) dnf_conf = Conf(ns.arch)
dnf_conf.persistdir = persistdir dnf_conf.persistdir = persistdir
dnf_conf.cachedir = cachedir dnf_conf.cachedir = cachedir
dnf_conf.optional_metadata_types = ["filelists"]
dnf_obj = DnfWrapper(dnf_conf) dnf_obj = DnfWrapper(dnf_conf)
gather_opts = GatherOptions() gather_opts = GatherOptions()