# mock defaults # vim:tw=0:ts=4:sw=4:et: config_opts['plugin_conf']['package_state_enable'] = False config_opts['plugin_conf']['ccache_enable'] = False config_opts['plugin_conf']['root_cache_enable'] = True # when used build ignores additional buildroot packages, reason unknown # config_opts['plugin_conf']['root_cache_opts']['age_check'] = False config_opts['plugin_conf']['bind_mount_enable'] = False config_opts['plugin_conf']['compress_logs_enable'] = True config_opts['plugin_conf']['compress_logs_opts'] = {} config_opts['plugin_conf']['compress_logs_opts']['command'] = "/usr/bin/gzip -9 --force" config_opts['plugin_conf']['tmpfs_enable'] = True config_opts['plugin_conf']['tmpfs_opts'] = {} config_opts['plugin_conf']['tmpfs_opts']['required_ram_mb'] = 1024 config_opts['plugin_conf']['tmpfs_opts']['max_fs_size'] = '140g' config_opts['plugin_conf']['tmpfs_opts']['mode'] = '0755' config_opts['plugin_conf']['tmpfs_opts']['keep_mounted'] = False # Re-enable once https://bugzilla.redhat.com/show_bug.cgi?id=2019329 is fixed config_opts['nosync'] = False config_opts['plugin_conf']['chroot_scan_enable'] = True config_opts['plugin_conf']['chroot_scan_opts'] = { 'regexes': [ "dnf.*log$" ], 'only_failed': False, } # https://bugzilla.redhat.com/show_bug.cgi?id=1690971 # https://bugzilla.redhat.com/show_bug.cgi?id=1741931 # https://github.com/rpm-software-management/mock/issues/338 config_opts['package_manager_max_attempts'] = 3 config_opts['package_manager_attempt_delay'] = 10 # https://pagure.io/copr/copr/issue/1211 config_opts['nspawn_args'] += ['--rlimit=RLIMIT_NOFILE=10240'] # Because some test-suites failed (historically, I don't have data), # also I believe it is releated to this: # https://github.com/rpm-software-management/mock/issues/186 config_opts['nspawn_args'] += ['--capability=cap_ipc_lock'] # bootstrap chroot is disabled by default, so we don't want to block # the build by this warning config_opts['dnf_warning'] = False