osbuild-depsolve-dnf: port module_hotfixes support over

from 61e6f75281
This commit is contained in:
Diaa Sami 2024-02-07 17:58:57 +01:00 committed by Achilleas Koutsou
parent 161c19601a
commit c673eab2b5

View file

@ -121,6 +121,11 @@ class Solver():
# we set the expiration to a short time period, rather than 0.
repo.metadata_expire = desc.get("metadata_expire", "20s")
# This option if True disables modularization filtering. Effectively
# disabling modularity for given repository.
if "module_hotfixes" in desc:
repo.module_hotfixes = desc["module_hotfixes"]
return repo
@staticmethod