koji_builder / staging: set module platform for el8 buildroots only.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi
2019-07-05 20:51:39 +00:00
parent 4c33431f44
commit f60cd6b20e

View File

@@ -6,7 +6,8 @@ config_opts['nosync'] = True
config_opts['nosync_force'] = True
config_opts['environment']['LANG'] = 'C.UTF-8'
{% if env == 'staging' %}
config_opts['dnf_common_opts'] = ['--setopt=module_platform_id=platform:el8']
if config_opts['chroot_name'].startswith('koji/epel8'):
config_opts['dnf_common_opts'] = ['--setopt=module_platform_id=platform:el8']
#config_opts['use_bootstrap_container'] = True
#config_opts['dnf_install_command'] = 'install dnf dnf-plugins-core redhat-release'
##config_opts['plugin_conf']['tmpfs_enable'] = True