diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/defaults.cfg | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/etc/defaults.cfg b/etc/defaults.cfg index 993ff6d..f9a57ed 100644 --- a/etc/defaults.cfg +++ b/etc/defaults.cfg @@ -12,11 +12,15 @@ config_opts['chrootgroup'] = 'mockbuild' config_opts['chroothome'] = '/builddir' config_opts['clean'] = True +import grp +config_opts['chrootuid'] = os.geteuid() +config_opts['chrootgid'] = grp.getgrnam("mock")[2] + # copy the host resolv.conf to the chroot config_opts['use_host_resolv'] = True # caching related options -config_opts['rebuild_cache'] = True +config_opts['rebuild_cache'] = False config_opts['use_cache'] = True config_opts['cache_topdir'] = "root-cache" config_opts['max_cache_age_days'] = 15 |