diff --git a/tools/osbuild-depsolve-dnf5 b/tools/osbuild-depsolve-dnf5 index 382eed48..08d05a4f 100755 --- a/tools/osbuild-depsolve-dnf5 +++ b/tools/osbuild-depsolve-dnf5 @@ -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)