Merge #1583 Add workaround for DNF fail-safe mechanism

This commit is contained in:
Matt Prahl
2020-03-03 18:45:08 +00:00
2 changed files with 5 additions and 0 deletions

View File

@@ -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.",
},

View File

@@ -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,
},
),
]