osbuild-depsolve-dnf5: Add module_hotfixes support

This commit is contained in:
Brian C. Lane 2024-02-10 09:31:56 -08:00 committed by Ondřej Budai
parent c431e7e340
commit 8389c6302e

View file

@ -212,6 +212,11 @@ class Solver():
# we set the expiration to a short time period, rather than 0.
conf.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:
module_hotfixes = desc["module_hotfixes"]
# This needs to be set on each repo
repo.set_substitutions(self.substitutions)