From dc5922631401501c1b211f95af293f1bf077a9ab Mon Sep 17 00:00:00 2001 From: Alexander Stefanov Date: Tue, 26 Mar 2019 20:34:42 +0300 Subject: [PATCH] add tmpfs support --- config-generator.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config-generator.sh b/config-generator.sh index a0c6e56..c90e639 100755 --- a/config-generator.sh +++ b/config-generator.sh @@ -36,6 +36,12 @@ config_opts['plugin_conf']['root_cache_enable'] = False config_opts['plugin_conf']['root_cache_opts']['age_check'] = True config_opts['plugin_conf']['root_cache_opts']['max_age_days'] = 2 config_opts['plugin_conf']['ccache_enable'] = False + +config_opts['plugin_conf']['tmpfs_enable'] = True +config_opts['plugin_conf']['tmpfs_opts'] = {} +config_opts['plugin_conf']['tmpfs_opts']['required_ram_mb'] = 64000m +config_opts['plugin_conf']['tmpfs_opts']['max_fs_size'] = '50g' + config_opts['use_system_media'] = False config_opts['basedir'] = '/var/lib/mock-urpm/' config_opts['cache_topdir'] = '/var/cache/mock-urpm/'