forked from xenserver/xen-api-libs-specs
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdefault.cfg
64 lines (56 loc) · 1.79 KB
/
default.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
config_opts['target_arch'] = 'x86_64'
config_opts['root'] = 'dom0'
config_opts['legal_host_arches'] = ('x86_64',)
config_opts['chroot_setup_cmd'] = 'install bash bzip2 coreutils cpio diffutils findutils gawk gcc gcc-c++ grep gzip info make patch redhat-rpm-config rpm-build sed shadow-utils tar unzip util-linux-ng which xz'
config_opts['dist'] = 'el7' # only useful for --resultdir variable subst
config_opts['plugin_conf']['bind_mount_opts']['dirs'].append(('/output', '/output' ))
config_opts['plugin_conf']['root_cache_opts']['exclude_dirs'] = ["./proc", "./sys", "./dev", "./tmp/ccache", "./var/cache/yum", "./output", "./var/xen-mock", "./obj" ]
config_opts['yum.conf'] = """
[epel]
name = epel
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
enabled = 1
baseurl = http://www.uk.xensource.com/linux/distros/CentOS/7.1.1503/EPEL-20150910/x86_64/
gpgcheck = 1
exclude=ocaml*
[mock]
name=Mock output
baseurl = file:///repos/xen-api-libs-specs/RPMS
gpgcheck=0
priority=1
enabled=1
metadata_expire=0
[base]
name = base
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled = 1
baseurl = http://www.uk.xensource.com/linux/distros/CentOS/7.1.1503/os/x86_64/
gpgcheck = 1
exclude=ocaml*
[updates]
name = updates
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled = 1
baseurl = http://www.uk.xensource.com/linux/distros/CentOS/7.1.1503/updates-20150910/x86_64/
gpgcheck = 1
exclude=ocaml*
[extras]
name = extras
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled = 1
baseurl = http://www.uk.xensource.com/linux/distros/CentOS/7.1.1503/extras-20150910/x86_64/
gpgcheck = 1
exclude=ocaml*
[main]
retries = 20
diskspacecheck = 0
reposdir = /dev/null
syslog_device =
assumeyes = 1
cachedir = /obj/yum_cache
obsoletes = 1
debuglevel = 1
gpgcheck = 1
logfile = /obj/yum.log
syslog_ident = mock
"""