diff options
author | Michael E Brown <michael_e_brown@dell.com> | 2007-06-14 11:43:44 -0500 |
---|---|---|
committer | Michael E Brown <michael_e_brown@dell.com> | 2007-06-14 11:43:44 -0500 |
commit | 680203b6388d67c34d5022cd3fad1956c138a5bc (patch) | |
tree | eff52299f26c8f23ae4ec3066b768179d73a686f /etc | |
parent | 3b6ea0ffbcd6c9142415b611b0e95d3ad8331580 (diff) | |
download | mock-680203b6388d67c34d5022cd3fad1956c138a5bc.tar.gz mock-680203b6388d67c34d5022cd3fad1956c138a5bc.tar.xz mock-680203b6388d67c34d5022cd3fad1956c138a5bc.zip |
resolv.conf fixes. use 'mock' group for multiuser goodness.
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 |