summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorMichael E Brown <mebrown@michaels-house.net>2007-07-06 14:42:44 -0500
committerMichael E Brown <mebrown@michaels-house.net>2007-07-06 14:42:44 -0500
commitef6d7f6d5bdad729286559fcabc2e8c8034cdaee (patch)
treefcf6cdacb9d2e107ac0881fa2994ae3be29ae561 /etc
parenta4c775e70acbe3c68493cf9592624e5a892fc37e (diff)
downloadmock-ef6d7f6d5bdad729286559fcabc2e8c8034cdaee.tar.gz
mock-ef6d7f6d5bdad729286559fcabc2e8c8034cdaee.tar.xz
mock-ef6d7f6d5bdad729286559fcabc2e8c8034cdaee.zip
remove redundant entries from mock defaults.cfg file. Migrate options into mock.py that were different.
Diffstat (limited to 'etc')
-rw-r--r--etc/defaults.cfg27
1 files changed, 5 insertions, 22 deletions
diff --git a/etc/defaults.cfg b/etc/defaults.cfg
index f9a57ed..5f8ff22 100644
--- a/etc/defaults.cfg
+++ b/etc/defaults.cfg
@@ -1,26 +1,9 @@
# mock defaults
#
-# Define default values here.
-# These values are overwritten in the /etc/mock/CHROOT.cfg files.
-#
-# Example:
+# This config file is for site-specific default values that apply across all
+# configurations. Options specified in this config file can be overridden in
+# the individual mock config files.
#
+# Entries in this file follow the same format as other mock config files.
# config_opts['foo'] = bar
-config_opts['basedir'] = '/var/lib/mock/'
-config_opts['chrootuser'] = 'mockbuild'
-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'] = False
-config_opts['use_cache'] = True
-config_opts['cache_topdir'] = "root-cache"
-config_opts['max_cache_age_days'] = 15
+#