checking in more of the rpm build system (is that it?)
[freeside.git] / rpm / build / mock / defaults.cfg
1 # mock defaults
2 #
3 # Define default values here.
4 # These values are overwritten in the /etc/mock/CHROOT.cfg files.
5 #
6 # Example:
7 #
8 # config_opts['foo'] = bar
9 config_opts['basedir'] = '/var/lib/mock/'
10 config_opts['chroot'] = '/usr/sbin/mock-helper chroot'
11 config_opts['mount'] = '/usr/sbin/mock-helper mount'
12 config_opts['umount'] = '/usr/sbin/mock-helper umount'
13 config_opts['rm'] = '/usr/sbin/mock-helper rm'
14 config_opts['mknod'] = '/usr/sbin/mock-helper mknod'
15 config_opts['yum'] = '/usr/sbin/mock-helper yum'
16 config_opts['runuser'] = '/sbin/runuser'
17 config_opts['chrootuser'] = 'mockbuild'
18 config_opts['chrootgroup'] = 'mockbuild'
19 config_opts['chrootuid'] = os.geteuid()
20 config_opts['chrootgid'] = os.getegid()
21 config_opts['chroothome'] = '/builddir'
22 config_opts['clean'] = True
23
24 # caching related options
25 config_opts['rebuild_cache'] = False
26 config_opts['use_cache'] = False
27 config_opts['pack_cmd'] = "/usr/sbin/mock-helper pack"
28 config_opts['unpack_cmd'] = "/usr/sbin/mock-helper unpack"
29 config_opts['cache_ext'] = ".tar.gz"
30 config_opts['cache_topdir'] = "root-cache"
31 config_opts['max_cache_age_days'] = 15
32
33 # allow some network tests to run under the chroot
34 config_opts['files']['/etc/resolv.conf'] = open("/etc/resolv.conf","r").read()
35 config_opts['files']['/etc/hosts'] = open("/etc/hosts","r").read()
36
37 config_opts['chroot_setup_cmd'] = 'install buildsys-build'
38 #config_opts['chroot_setup_cmd'] = 'groupinstall build'
39