From 8389c6302ea4e19f514486d8ae59132e8f4ae8ec Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Sat, 10 Feb 2024 09:31:56 -0800 Subject: [PATCH] osbuild-depsolve-dnf5: Add module_hotfixes support --- tools/osbuild-depsolve-dnf5 | 5 +++++ 1 file changed, 5 insertions(+) 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)