mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-04 19:28:49 +08:00
Merge #1583 Add workaround for DNF fail-safe mechanism
This commit is contained in:
@@ -182,6 +182,9 @@ class Config(object):
|
||||
# https://pagure.io/fedora-infrastructure/issue/7620.
|
||||
# Disables systemd-nspawn for chroot.
|
||||
"mock.new_chroot": 0,
|
||||
# Works around fail-safe mechanism added in DNF 4.2.7
|
||||
# https://pagure.io/fedora-infrastructure/issue/8410
|
||||
"mock.yum.module_hotfixes": 1,
|
||||
},
|
||||
"desc": "Extra options set for newly created Koji tags.",
|
||||
},
|
||||
|
||||
@@ -639,6 +639,7 @@ class TestKojiBuilder:
|
||||
"mock.package_manager": "dnf",
|
||||
"repo_include_all": repo_include_all,
|
||||
"mock.new_chroot": 0,
|
||||
'mock.yum.module_hotfixes': 1,
|
||||
},
|
||||
),
|
||||
mock.call(
|
||||
@@ -648,6 +649,7 @@ class TestKojiBuilder:
|
||||
"mock.package_manager": "dnf",
|
||||
"repo_include_all": repo_include_all,
|
||||
"mock.new_chroot": 0,
|
||||
'mock.yum.module_hotfixes': 1,
|
||||
},
|
||||
),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user