koji_builder: enable bootstrap mode

We need this because f33 rpm switches to sqlite.
So, fedora builds are fine, but epel builds install the buildroot
with f33 rpm/sqlite and then the epel rpm/yum don't know what to do.
This causes mock to make a bootstrap chroot made with the rpm/yum/dnf
of the target and use that to build everyhing after with.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2020-12-05 20:31:18 -08:00
parent e44c1f28f5
commit b2a38f1962

View file

@ -5,10 +5,6 @@ config_opts['macros']['%bugurl'] = 'https://bugz.fedoraproject.org/%name'
config_opts['nosync'] = True
config_opts['nosync_force'] = True
config_opts['environment']['LANG'] = 'C.UTF-8'
{% if env == "production" %}
config_opts['use_bootstrap'] = False
{% else %}
config_opts['use_bootstrap'] = True
config_opts['yum_install_command'] += " --disablerepo=rhel7-server-devtools"
{% endif %}
config_opts['dnf_warning'] = False