mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-02-03 05:03:43 +08:00
Set module_hotfixes on repos created for local builds to allow using modular packages in non-modular repos
This fixes an issue that causes module-build-macros to fail during a local build when a module buildrequires a non-base module.
This commit is contained in:
@@ -223,6 +223,8 @@ class MockModuleBuilder(GenericBuilder):
|
||||
self.yum_conf += "[%s]\n" % name
|
||||
self.yum_conf += "name=%s\n" % name
|
||||
self.yum_conf += "baseurl=%s\n" % baseurl
|
||||
# See https://dnf.readthedocs.io/en/latest/modularity.html#hotfix-repositories
|
||||
self.yum_conf += "module_hotfixes=true\n"
|
||||
self.yum_conf += extra
|
||||
self.yum_conf += "enabled=1\n\n"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user