mock build.Part 2

This commit is contained in:
alexey
2025-03-15 18:29:51 +03:00
parent 998f87cee3
commit 6520ca97df
2 changed files with 49 additions and 43 deletions

View File

@@ -123,17 +123,17 @@ class ProjectsActions
proj_config = <<~PRJ_CFG
include("#{configuration_path}")
include("#{prj_incl_path}")
config_opts['plugin_conf']['ccache_enable'] = True
config_opts['plugin_conf']['ccache_enable'] = False
config_opts['plugin_conf']['ccache_opts']['max_cache_size'] = '4G'
config_opts['plugin_conf']['ccache_opts']['hashdir'] = True
config_opts['plugin_conf']['ccache_opts']['debug'] = False
config_opts['plugin_conf']['ccache_opts']['show_stats'] = True
config_opts['plugin_conf']['package_state_enable'] = True
config_opts['plugin_conf']['procenv_enable'] = True
config_opts['plugin_conf']['procenv_enable'] = False
config_opts['plugin_conf']['root_cache_enable'] = True
config_opts['plugin_conf']['showrc_enable'] = True
config_opts['plugin_conf']['yum_cache_enable'] = True
config_opts['chroot_setup_cmd'] += " procenv gcc gcc-c++ make"
config_opts['chroot_setup_cmd'] += " gcc gcc-c++ make"
PRJ_CFG
File.open(proj_conf_path, "w") { |f| f << proj_config }
generate_linked_repos(id, proj_path, proj_name, prj_incl_path)