diff options
author | Clark Williams <williams@redhat.com> | 2008-12-19 15:57:19 -0600 |
---|---|---|
committer | Clark Williams <williams@redhat.com> | 2008-12-19 15:57:19 -0600 |
commit | d0bbbdb28ab908e95437e7a2ca5b68cdb5634030 (patch) | |
tree | 81f161fc4d759fab7dce4fca7060bf7bddf081a0 | |
parent | b8455b3512dbe240c3e90aa0cae30c5db2af4121 (diff) | |
download | mock-d0bbbdb28ab908e95437e7a2ca5b68cdb5634030.tar.gz mock-d0bbbdb28ab908e95437e7a2ca5b68cdb5634030.tar.xz mock-d0bbbdb28ab908e95437e7a2ca5b68cdb5634030.zip |
added version key to config options; moved cache_topdir to /var/cache/mock; removed trailing slash from basedir
-rwxr-xr-x | py/mock.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -191,9 +191,10 @@ decorate(traceLog()) def setup_default_config_opts(config_opts, unprivUid): "sets up default configuration." # global - config_opts['basedir'] = '/var/lib/mock/' # root name is automatically added to this + config_opts['version'] = __VERSION__ + config_opts['basedir'] = '/var/lib/mock' # root name is automatically added to this config_opts['resultdir'] = '%(basedir)s/%(root)s/result' - config_opts['cache_topdir'] = '/var/lib/mock/cache' + config_opts['cache_topdir'] = '/var/cache/mock' config_opts['clean'] = True config_opts['chroothome'] = '/builddir' config_opts['log_config_file'] = 'logging.ini' |