make mock depsolver policy configurable

Fixes: https://pagure.io/koji/issue/826
This commit is contained in:
Tomas Kopecek 2020-06-09 15:59:49 +02:00
parent 62998b0885
commit ac38549992
3 changed files with 6 additions and 0 deletions

View file

@ -1641,6 +1641,8 @@ name=build
yc_parts.append(" %s\n" % url)
if opts.get('module_hotfixes'):
yc_parts.append("module_hotfixes=1\n")
if opts.get('yum_best'):
yc_parts.append("best=%s\n" % int(opts['yum_best']))
config_opts['yum.conf'] = ''.join(yc_parts)
plugin_conf = {