enable dnf_warning in mock config
Fixes: https://pagure.io/koji/issue/1594
This commit is contained in:
parent
af673d985a
commit
16fb3ad162
4 changed files with 6 additions and 1 deletions
|
|
@ -1486,7 +1486,9 @@ def genMockConfig(name, arch, managed=False, repoid=None, tag_name=None, **opts)
|
|||
'rpmbuild_networking': opts.get('use_host_resolv', False),
|
||||
'use_host_resolv': opts.get('use_host_resolv', False),
|
||||
# Don't let a build last more than 24 hours
|
||||
'rpmbuild_timeout': opts.get('rpmbuild_timeout', 86400)
|
||||
'rpmbuild_timeout': opts.get('rpmbuild_timeout', 86400),
|
||||
# warn if yum is used instead of dnf
|
||||
'dnf_warning': True,
|
||||
}
|
||||
if opts.get('package_manager'):
|
||||
config_opts['package_manager'] = opts['package_manager']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue