dnf-json: Allow passing module_hotfixes
Allow passing module_hotfixes as repo option, it will allow disabling of modularity filtering per repository.
This commit is contained in:
parent
9b53d3e6a6
commit
61e6f75281
1 changed files with 5 additions and 0 deletions
5
dnf-json
5
dnf-json
|
|
@ -119,6 +119,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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue